Page 1 of 1

Problem generating csr

Posted: Sat 31. Dec 2022, 17:44
by rs19
I'm sure the cause of the problem is within KeyHelp
Since it says undefined array key within an keyhelp generated file - i think yes - but no guarantees


Server operating system + version
Ubuntu 22.04.1 LTS


Server virtualization technology used
KVM


KeyHelp version + build number
22.2 - Build 2838


Problem description / error messages
Submitting "Save" in the "Add SSL/TLS Certificate" leads to

Ungültige SSL/TLS-Komponente Privater Schlüssel > Invalid SSL/TLS Component Private Key
Ungültige SSL/TLS-Komponente . > Invalid SSL/TLS Component .

Expected result
...

Actual result
None

Steps to reproduce
Basic Install on 22.04 and dns settings at the domain provider

Additional information

in /var/log/keyhelp/php-error.log it says
Undefined array key "csr" in /home/keyhelp/www/keyhelp/pages/ssl_certificates.php on line 516

Checking out line 516 in the ssl_certificates.php ist basically a normal line within an certificate.

Im not an expert and any form of input his highly appreciated. But im not using it keyhelp the first time and never ran in to that.

In this case Happy New Year everyone.

Re: Problem generating csr  [SOLVED]

Posted: Mon 2. Jan 2023, 11:32
by Alexander
Hello and Happy new year too ;).

Thanks for reporting.

I have found the issue. It is caused by slightly changed behavior of some of the the PHP openssl_* functions on PHP >= 8.0. So only Ubuntu 22 Systems were affected by this.

The issue is now fixed and will be part of the upcoming update. Until then, you can create the CSR via console and regular Linux commands and import it as text into KeyHelp.


The error "Undefined array key "csr" in /home/keyhelp/www/keyhelp/pages/ssl_certificates.php on line 516" is caused by a missing translation, which is now fixed too.

Re: Problem generating csr

Posted: Mon 2. Jan 2023, 13:20
by rs19
Thank you for looking into this that quick - especially over these days.