Error 500 when uploading a custom (letsencrypt) generated certificate

Issue #960 resolved
Nuno Facha created an issue

Error 500 happens, logs states the following

[2022-10-08 15:16:43] php.INFO: Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated at /opt/admin/src/Base/Form/PunycodeTransformer.php:24)"} []
[2022-10-08 15:16:43] php.CRITICAL: Uncaught Error: Return value of App\Base\Config\Certificate::validate() must be of the type bool, null returned {"exception":"[object] (TypeError(code: 0): Return value of App\\Base\\Config\\Certificate::validate() must be of the type bool, null returned at /opt/admin/src/Base/Config/Certificate.php:111)"} []
[2022-10-08 15:16:43] request.CRITICAL: Uncaught PHP Exception TypeError: "Return value of App\Base\Config\Certificate::validate() must be of the type bool, null returned" at /opt/admin/src/Base/Config/Certificate.php line 111 {"exception":"[object] (TypeError(code: 0): Return value of App\\Base\\Config\\Certificate::validate() must be of the type bool, null returned at /opt/admin/src/Base/Config/Certificate.php:111)"} []
[2022-10-08 15:16:43] security.DEBUG: Stored the security token in the session. {"key":"_security_login"} []

Comments (2)

  1. enzo.lusso@hotmail.fr

    Same issue

    [2022-11-09 14:33:43] php.INFO: Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated {"exception":"[object] (ErrorException(code: 0): Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated at /opt/admin/src/Base/Form/PunycodeTransformer.php:24)"} []
    [2022-11-09 14:33:43] php.CRITICAL: Uncaught Error: Return value of App\Base\Config\Certificate::validate() must be of the type bool, null returned {"exception":"[object] (TypeError(code: 0): Return value of App\\Base\\Config\\Certificate::validate() must be of the type bool, null returned at /opt/admin/src/Base/Config/Certificate.php:111)"} []
    [2022-11-09 14:33:43] request.CRITICAL: Uncaught PHP Exception TypeError: "Return value of App\Base\Config\Certificate::validate() must be of the type bool, null returned" at /opt/admin/src/Base/Config/Certificate.php line 111 {"exception":"[object] (TypeError(code: 0): Return value of App\\Base\\Config\\Certificate::validate() must be of the type bool, null returned at /opt/admin/src/Base/Config/Certificate.php:111)"} []
    [2022-11-09 14:33:43] security.DEBUG: Stored the security token in the session. {"key":"_security_login"} []
    

  2. Log in to comment