Problem generating csr  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
rs19
Posts: 2
Joined: Sat 31. Dec 2022, 17:31

Problem generating csr

Post 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.
User avatar
Alexander
Keyweb AG
Posts: 3813
Joined: Wed 20. Jan 2016, 02:23

Re: Problem generating csr  [SOLVED]

Post 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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
rs19
Posts: 2
Joined: Sat 31. Dec 2022, 17:31

Re: Problem generating csr

Post by rs19 »

Thank you for looking into this that quick - especially over these days.
Post Reply