OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: iislas18 on August 27, 2021, 06:00:50 pm

Title: getting 500 internal server error
Post by: iislas18 on August 27, 2021, 06:00:50 pm
getting a strange error here, I am on 21.7.1 and am trying to create an internal CA under system -> trust -> authorities, I fill in the fields but when I click save I get:

Title: Re: getting 500 internal server error
Post by: mrkev on August 30, 2021, 06:46:36 pm

Hi,

I am getting the same message when trying to generate a client certificate or new internal CA. I am also getting the following errors in the Web GUI log:

Code: [Select]
2021-08-30T17:41:04 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 1916 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_camanager.php?act=new, closing connection
2021-08-30T17:41:04 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:37:01 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2328 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new, closing connection
2021-08-30T17:37:01 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:34:39 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2316 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new, closing connection
2021-08-30T17:34:39 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:33:44 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2317 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new, closing connection
2021-08-30T17:33:44 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:31:44 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2353 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new&userid=2, closing connection
2021-08-30T17:31:44 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:30:44 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2363 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new&userid=2, closing connection
2021-08-30T17:30:44 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:30:28 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2362 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new&userid=2, closing connection
2021-08-30T17:30:28 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:30:20 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2363 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new&userid=2, closing connection
2021-08-30T17:30:20 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
2021-08-30T17:30:02 lighttpd[34069] (gw_backend.c.2275) response not received, request sent: 2363 on socket: unix:/tmp/php-fastcgi.socket-1 for /system_certmanager.php?act=new&userid=2, closing connection
2021-08-30T17:30:02 lighttpd[34069] (mod_fastcgi.c.419) unexpected end-of-file (perhaps the fastcgi process died):pid: 55803 socket: unix:/tmp/php-fastcgi.socket-1
Title: Re: getting 500 internal server error
Post by: iislas18 on August 30, 2021, 06:48:04 pm
are you also running version 21.7.1?
Title: Re: getting 500 internal server error
Post by: mrkev on August 30, 2021, 06:51:16 pm
yes, also running 21.7.1
Title: Re: getting 500 internal server error
Post by: franco on August 30, 2021, 07:54:51 pm
PHP 7.4.22 broke LibreSSL compatibility. 7.4.23 will fix it:

https://www.php.net/ChangeLog-7.php#7.4.23

Fixed bug #81327 (Error build openssl extension on php 7.4.22).

https://bugs.php.net/bug.php?id=81327

As said elsewhere before 21.7.3 will have the fix. For now use OpenSSL to create a certificate.

And please make sure to post your full version... there is no mention of both of you using LibreSSL but it is obvious in retrospect. When dealing with new errors, however, this can be a huge problem.


Cheers,
Franco
Title: Re: getting 500 internal server error
Post by: iislas18 on August 30, 2021, 08:00:16 pm
Franco,

On the dashboard it shows I am using LibreSSL 3.3.3, is that the information you need?
Title: Re: getting 500 internal server error
Post by: franco on August 30, 2021, 08:04:34 pm
As I said it was clear because it was discussed elsewhere previously. Make sure to search the forum...
Title: Re: getting 500 internal server error
Post by: iislas18 on August 30, 2021, 08:10:07 pm
ah I see now: https://forum.opnsense.org/index.php?topic=24304.msg116518#msg116518

Thanks for the info Franco.
Title: Re: getting 500 internal server error
Post by: franco on August 30, 2021, 08:24:41 pm
Yep, this one :)

Due to holiday season 21.7.2 is a little late to the party but it's not too far away now.


Cheers,
Franco