Error creating Certificate Revocation Lists in new install. 20180904-1004 snapshot.



  • When I, in a new system with LocalCA defined tries to create a CRL I get the following error:

    Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641 0
    

    0_1536701625613_CRL_error.JPG

    Running on:
    pfSense-CE-memstick-2.4.4-DEVELOPMENT-amd64-20180904-1004

    Crash report begins.  Anonymous machine information:
    
    amd64
    11.2-RELEASE-p2
    FreeBSD 11.2-RELEASE-p2 #109 b0703dcab3c(RELENG_2_4_4): Tue Sep  4 10:05:18 EDT 2018     root@buildbot3:/builder/crossbuild-ce-master/obj/amd64/FWJoMRHc/builder/crossbuild-ce-master/pfSense/tmp/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    PHP Errors:
    [11-Sep-2018 23:28:01 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:28:01 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:28:54 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:29:54 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:30:06 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:30:31 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:13 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:14 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:17 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:17 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:18 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:25 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:25 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:27 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    [11-Sep-2018 23:37:30 Europe/Stockholm] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/local/www/system_crlmanager.php on line 641
    
    
    No FreeBSD crash data found.
    			
    

    Dan Lundqvist
    Stockholm, Sweden


  • Rebel Alliance Developer Netgate

    I was able to reproduce that here. I just pushed a fix, it will make it into 2.4.4-RELEASE

    Thanks!



  • Oh wow, you're too fast Jim! I just pushed PR#3979 for that before coming back to see your post ... and I'm sure your fix is better than mine


Log in to reply