The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Case 73705] Manage Service SSL Certificates error

Discussion in 'General Discussion' started by znypan, Jan 20, 2014.

  1. znypan

    znypan Member

    Joined:
    Oct 18, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
    #1 znypan, Jan 20, 2014
    Last edited: Jan 20, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. znypan

    znypan Member

    Joined:
    Oct 18, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks. Ticket number is 4461701.
     
  4. znypan

    znypan Member

    Joined:
    Oct 18, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    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)
     
    #4 znypan, Jan 21, 2014
    Last edited: Jan 21, 2014
  5. tebokkel

    tebokkel Registered

    Joined:
    Mar 31, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Here a 'me too'. Hope this one's solved before my next CACert certificates expire.. Otherwise, back to manual CSR's.. blegh

    Paul
     
  6. officialbobby

    officialbobby Registered

    Joined:
    Apr 8, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    An another! Will cPanel post to this thread when a fix is available?

    Bobby

    - - - Updated - - -

    Sorry, that was a stupid question. I can see that the fix will be logged in the change log under that number....
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  8. officialbobby

    officialbobby Registered

    Joined:
    Apr 8, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,697
    Likes Received:
    657
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page