[Case 73705] Manage Service SSL Certificates error

znypan

Member
Oct 18, 2011
12
0
51
cPanel Access Level
Website Owner
Hello,

I tried to update my soon-to-expire certificate using the "Manage Service SSL Certificates".
The process failed and now when I try to access it again I get this error:
Code:
undef error - cannot encode reference to scalar 'SCALAR(0xc07e9e8)' unless the scalar is 0 or 1 at /usr/local/cpanel/Cpanel/JSON.pm line 42.
Any ideas?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

znypan

Member
Oct 18, 2011
12
0
51
cPanel Access Level
Website Owner
After investigation by the CPanel staff I got the following response:
Code:
The error message that appears in Manage Service SSL Certificates is similar to an error that appears when the data in a certificate's X509 Subject Alternative Name is corrupted.
Be advised that I'm using CACert for the last 4 yrs and it's the 1st time I get into this kind of situation.

Code:
Because of this, the Manage Service SSL Certificates page does not load. This has been reported in internal case ID #73705.

There is no ETA on when this issue will be addressed; however, you can track the status of the case ID on our ChangeLog site here: 
http://go.cpanel.net/ChangeLog 

As a workaround, you will need to replace the service SSL certs with a different cert that does not contain the unexpected data. Please note that this will need to be done manually, since the WHM page is not available.
Be advised that my SSL certs have been updated, installed and work correctly. The problem is that the Manage Service SSL Cert page is broken afterwards but that doesn't affect anything funtion-wise.

Hope that the interface will be fixed with a future patch. If not I'll have to install future CaCerts manually (not a big deal anyway)
 
Last edited:

tebokkel

Registered
Mar 31, 2014
2
0
51
cPanel Access Level
Root Administrator
After investigation by the CPanel staff I got the following response:
Code:
There is no ETA on when this issue will be addressed; however, you can track the status of the case ID on our ChangeLog site here: 
http://go.cpanel.net/ChangeLog 

As a workaround, you will need to replace the service SSL certs with a different cert that does not contain the unexpected data. Please note that this will need to be done manually, since the WHM page is not available.
Here a 'me too'. Hope this one's solved before my next CACert certificates expire.. Otherwise, back to manual CSR's.. blegh

Paul
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Yes, you can monitor our change logs for the inclusion of internal case number 73705. There is currently no specific time frame available on when a resolution might be pushed out.

Thank you.
 

officialbobby

Registered
Apr 8, 2014
2
0
1
cPanel Access Level
Root Administrator
As a workaround, you will need to replace the service SSL certs with a different cert that does not contain the unexpected data. Please note that this will need to be done manually, since the WHM page is not available.

...

I'll have to install future CaCerts manually (not a big deal anyway)
Could somebody tell me how to do this manually? I cannot find much information on how to do this and the bug discussed above has not been fixed
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
The certificate data for services is stored in:

Code:
/var/cpanel/ssl/
/var/cpanel/ssl/$service-name
You will need to manually update the SSL files within this directory with valid SSL data, or remove the SSL certificate information and regenerate self-signed SSL certs via:

Code:
/usr/local/cpanel/bin/checkallsslcerts
Thank you.