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.

SOLVED Error updating/installing secure certificate "unknown error"

Discussion in 'Security' started by BasicLink SA, Apr 13, 2016.

Tags:
  1. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    I have an existing site that already has a working secure certificate but it will expire in a few weeks. I renewed the certificate using the same key/CSR and received the new certificate.

    I used the root account to access WHM and then selected the account to access it's cPanel interface.

    I uploaded the cert to the SSL manager and can see it in the "SSL Certificates" along with the old but live cert.

    I click "install" and it takes me to the "Manage SSL Hosts" page. I select the domain, the CRT, KEY and CABUNDLE fields are all automatically filled in. I click the "Install Certificate" button and I get this error after a short wait:

    The certificate could not be installed on the domain “<domain.name>”.
    error unknown error

    "<domain.name>" is the domain name of the site that is currently live and working fine.

    This is the server details:
    /etc/redhat-release:CentOS release 6.7 (Final)
    /usr/local/cpanel/version:11.54.0.21
    /var/cpanel/envtype:xen hvm
    CPANEL=release
    Server version: Apache/2.2.31 (Unix)
    Server built: Sep 10 2015 22:23:02
    Cpanel::Easy::Apache v3.32.0 rev9999
    PHP 5.4.45 (cli) (built: Sep 10 2015 22:28:47)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd.
    mysql Ver 14.14 Distrib 5.5.48, for Linux (x86_64) using readline 5.1



    Anyone know why or where I can look for more information? This happened before and I manually installed the cert (think "vi") to make it work. I don't remember the server details though.

    Any help will be appreciated.
    Stephane


    Edit:

    Looks like the new cert was installed, it is live on the site now. In addition the error is actually just "unknown error", I wish I could change the subject.
     
    #1 BasicLink SA, Apr 13, 2016
    Last edited: Apr 13, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    31,638
    Likes Received:
    756
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you verify if the issue is now resolved? Also, you can review /usr/local/cpanel/logs/error_log to receive additional output about the "unkown error" you noticed in the cPanel interface.

    Thank you.
     
  3. dialhost

    dialhost Registered

    Joined:
    Jun 17, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello everyone,

    We're the same issue here, install_ssl and delete_ssl are not working properly.

    Recently we have launched a Let's Encrypt feature (we built it), the Let's Encrypt generate all the stuff we need and we dispatch it (via UAPI) to cPanel.

    $cpanel->uapi('SSL', 'delete_ssl', ["domain" => $domain]);
    $install_ssl = $cpanel->uapi('SSL', 'install_ssl', $ceritificates);

    As you can see in the log file below, its not working...
    Code:
    [2016-05-13 15:09:02 -0300] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ssl] function=[ADD]: statusmsg=[Cpanel::AdminBin::Server: Received invalid syntax from adminbin: Cpanel/ssl/ADD: syntax_ok=[[A warning occurred while processing this directive.]]] at /usr/local/cpanel/Cpanel/Wrap.pm line 123, <$socket> line 1.
            Cpanel::Wrap::send_cpwrapd_request("no_cperror", 1, "function", "ADD", "namespace", "Cpanel", "env", HASH(0x5887e40), "action", ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 54
            Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "ssl", "function", "ADD", "data", HASH(0x415beb0), "action", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 252
            Cpanel::AdminBin::_adminfetch("module", "ssl", "function", "ADD", "format", "storable", "cache_check_files", "", "cache", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 178
            Cpanel::AdminBin::fetch_adminbin_nocache_with_status("ssl", undef, "ADD", "storable", HASH(0x415beb0)) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1808
            Cpanel::API::SSL::_install("sandoces.com.br", "sandoces_com_br_c1183_3da0f_1470935340_fc3817f68642b696bc4c57"..., "c1183_3da0f_0285be4c5a81bca6a32659650270b1e7", undef, Cpanel::Result=HASH(0x5715d28), undef) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1388
            Cpanel::API::SSL::install_ssl(Cpanel::Args=HASH(0x5730440), Cpanel::Result=HASH(0x5715d28)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 285
            eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 285
            Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x5715d28), CODE(0x5713f50)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x5730440), Cpanel::Result=HASH(0x5715d28), "SSL", "install_ssl") called at /usr/local/cpanel/Cpanel/API.pm line 115
            Cpanel::API::execute("SSL", "install_ssl", HASH(0x572f158)) called at cpanel.pl line 1473
            cpanel::cpanel::docpanelaction("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"insta"...) called at cpanel.pl line 4137
            cpanel::cpanel::dotag_finished_headers(0) called at cpanel.pl line 3927
            cpanel::cpanel::cpanel_parseblock("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"insta"...) called at cpanel.pl line 5197
            cpanel::cpanel::run_standard_mode() called at cpanel.pl line 869
            cpanel::cpanel::script("cpanel::cpanel", "./frontend/dialpanel/index.live.php") called at cpanel.pl line 331
    
    Also, some certs cannot be deleted

    Code:
    
    [2016-05-13 15:08:47 -0300] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request The adminbin “ssl” in the “Cpanel” namespace call to function “DEL” ended prematurely: The subprocess reported error number 5 when it ended.: namespace=[Cpanel] module=[ssl] function=[DEL]: raw_response=[{"statusmsg":"The adminbin “ssl” in the “Cpanel” namespace call to function “DEL” ended prematurely: The subprocess reported error number 5 when it ended.","mode":"full","status":1,"version":"2.4","data":"Você não tem um site ativo para o domínio “sandoces.com.br”.\n","exit_code":1280,"timeout":0,"error":1,"action":"run"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 114, <$socket> line 1.
            Cpanel::Wrap::send_cpwrapd_request("no_cperror", 1, "function", "DEL", "namespace", "Cpanel", "env", HASH(0x5715470), "action", ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 54
            Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "ssl", "function", "DEL", "data", "sandoces.com.br", "action", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 85
            Cpanel::AdminBin::run_adminbin_with_status("ssl", "DEL", "hide.com.br") called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1421
            Cpanel::API::SSL::delete_ssl(Cpanel::Args=HASH(0x57155c0), Cpanel::Result=HASH(0x5714050)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 285
            eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 285
            Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x5714050), CODE(0x5715d10)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x57155c0), Cpanel::Result=HASH(0x5714050), "SSL", "delete_ssl") called at /usr/local/cpanel/Cpanel/API.pm line 115
            Cpanel::API::execute("SSL", "delete_ssl", HASH(0x572f290)) called at cpanel.pl line 1473
            cpanel::cpanel::docpanelaction("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"delet"...) called at cpanel.pl line 4137
            cpanel::cpanel::dotag_finished_headers(0) called at cpanel.pl line 3927
            cpanel::cpanel::cpanel_parseblock("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"delet"...) called at cpanel.pl line 5197
            cpanel::cpanel::run_standard_mode() called at cpanel.pl line 869
            cpanel::cpanel::script("cpanel::cpanel", "./frontend/dialpanel/index.live.php") called at cpanel.pl line 331
    [2016-05-13 15:08:47 -0300] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ssl] function=[DEL]: statusmsg=[The adminbin “ssl” in the “Cpanel” namespace call to function “DEL” ended prematurely: The subprocess reported error number 5 when it ended.] at /usr/local/cpanel/Cpanel/Wrap.pm line 123, <$socket> line 1.
            Cpanel::Wrap::send_cpwrapd_request("no_cperror", 1, "function", "DEL", "namespace", "Cpanel", "env", HASH(0x5715470), "action", ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 54
            Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "ssl", "function", "DEL", "data", "sandoces.com.br", "action", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 85
            Cpanel::AdminBin::run_adminbin_with_status("ssl", "DEL", "hide.com.br") called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1421
            Cpanel::API::SSL::delete_ssl(Cpanel::Args=HASH(0x57155c0), Cpanel::Result=HASH(0x5714050)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 285
            eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 285
            Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x5714050), CODE(0x5715d10)) called at /usr/local/cpanel/Cpanel/API.pm line 213
            Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x57155c0), Cpanel::Result=HASH(0x5714050), "SSL", "delete_ssl") called at /usr/local/cpanel/Cpanel/API.pm line 115
            Cpanel::API::execute("SSL", "delete_ssl", HASH(0x572f290)) called at cpanel.pl line 1473
            cpanel::cpanel::docpanelaction("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"delet"...) called at cpanel.pl line 4137
            cpanel::cpanel::dotag_finished_headers(0) called at cpanel.pl line 3927
            cpanel::cpanel::cpanel_parseblock("<cpanelaction>\x{a}{\"module\":\"SSL\",\"reqtype\":\"exec\",\"func\":\"delet"...) called at cpanel.pl line 5197
            cpanel::cpanel::run_standard_mode() called at cpanel.pl line 869
            cpanel::cpanel::script("cpanel::cpanel", "./frontend/dialpanel/index.live.php") called at cpanel.pl line 331
    
    It happens in all our machines, the one on log file is using

    CLOUDLINUX 5.11 x86_64 standard – br36 WHM 56.0 (build 14)

    And after all this happens, the cert is installed correctly and run well if we try to access the page.

    PS: We are not sending the bundle file, since lets encrypt changed it 3 times already.
     
    #3 dialhost, May 13, 2016
    Last edited by a moderator: May 13, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    31,638
    Likes Received:
    756
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Would you mind opening 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.
     
  5. WPC

    WPC Registered

    Joined:
    Dec 4, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ontario
    cPanel Access Level:
    Root Administrator
    We're seeing a similar issue, was this resolved?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    31,638
    Likes Received:
    756
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you describe the specific issue you are facing, including steps to reproduce the problem?

    Thank you.
     
  7. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    78
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Hello, I'm getting this too on WHM 60.0 (build 28). CloudLinux.

    Installing new certificate to replace expiring certificate for domain.

    Create new private key 4,096 bits
    Create CSR
    Paste issued certificate, assign a description and save
    Install the certificate produces the error "Unknown error" as described above; however, the certificate is installed successfully.

    The ONLY difference this time around is that we are using a Comodo certificate.

    Error log as follows:
    Code:
    
    [2016-12-15 09:54:53 +1100] warn [ssl] Refusing to chown() multiply-linked file “/usr/local/apache/domlogs/__client_domain_name__-ssl_log” (2) at /usr/local/cpanel/Cpanel/Debug.pm line 30.
      Cpanel::Debug::log_warn("Refusing to chown() multiply-linked file \x{e2}\x{80}\x{9c}/usr/local/apache"...) called at /usr/local/cpanel/Cpanel/SafetyBits/Chown.pm line 52
      Cpanel::SafetyBits::Chown::safe_chown(0, 678, "/usr/local/apache/domlogs/__client_domain_name__-ssl_log") called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 609
      Cpanel::SSLInstall::real_installssl(__CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, ...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 93
      Cpanel::SSLInstall::install_or_do_non_sni_update(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/ssl.pl line 167
      bin::ssladmin::perform_add("__client_username__", "ADD") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 124
      Cpanel::AdminBin::Script::Legacy::script("Cpanel::AdminBin::Script::Legacy", HASH(0x154c4b0), 678) called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      Cpanel::AdminBin::Script::Legacy::run_adminbin("bin::ssladmin", HASH(0x154c4b0)) called at bin/admin/Cpanel/ssl.pl line 77
    
    
    [2016-12-15 09:54:57 +1100] warn [Internal Warning while parsing [stdin] 360263] OCSP response failed: unauthorized at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
     at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
      Cpanel::SSL::OCSP::cert_is_revoked("-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "http://ocsp.comodoca.com", "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 174
      Cpanel::SSL::Objects::Certificate::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x4403788), Try::Tiny::Catch=REF(0x4409310)) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 179
      Cpanel::SSL::Objects::Certificate::revoked(Cpanel::SSL::Objects::Certificate=HASH(0x4408650), "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 128
      Cpanel::Domain::TLS::Write::set_tls(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 686
      Cpanel::SSLInstall::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x39a2c00), Try::Tiny::Catch=REF(0x3a9a260)) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 692
      Cpanel::SSLInstall::real_installssl(__CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, ...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 93
      Cpanel::SSLInstall::install_or_do_non_sni_update(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/ssl.pl line 167
      bin::ssladmin::perform_add("__client_username__", "ADD") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 124
      Cpanel::AdminBin::Script::Legacy::script("Cpanel::AdminBin::Script::Legacy", HASH(0x154c4b0), 678) called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      Cpanel::AdminBin::Script::Legacy::run_adminbin("bin::ssladmin", HASH(0x154c4b0)) called at bin/admin/Cpanel/ssl.pl line 77
    
    
    [2016-12-15 09:54:58 +1100] warn [Internal Warning while parsing [stdin] 360263] OCSP response failed: unauthorized at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
     at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
      Cpanel::SSL::OCSP::cert_is_revoked("-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "http://ocsp.comodoca.com", "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 174
      Cpanel::SSL::Objects::Certificate::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x497ef58), Try::Tiny::Catch=REF(0x4983af0)) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 179
      Cpanel::SSL::Objects::Certificate::revoked(Cpanel::SSL::Objects::Certificate=HASH(0x4982dd8), "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 128
      Cpanel::Domain::TLS::Write::set_tls(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 686
      Cpanel::SSLInstall::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x3a0d7b0), Try::Tiny::Catch=REF(0x3a7b4f0)) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 692
      Cpanel::SSLInstall::real_installssl(__CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 0, __CPANEL_HIDDEN__, ...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 93
      Cpanel::SSLInstall::install_or_do_non_sni_update(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/ssl.pl line 167
      bin::ssladmin::perform_add("__client_username__", "ADD") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 124
      Cpanel::AdminBin::Script::Legacy::script("Cpanel::AdminBin::Script::Legacy", HASH(0x154c4b0), 678) called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      Cpanel::AdminBin::Script::Legacy::run_adminbin("bin::ssladmin", HASH(0x154c4b0)) called at bin/admin/Cpanel/ssl.pl line 77
    
    
    [2016-12-15 09:54:59 +1100] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ssl] function=[ADD]: statusmsg=[Cpanel::AdminBin::Server: Received invalid syntax from adminbin: Cpanel/ssl/ADD: syntax_ok=[[A warning occurred while processing this directive.]]] at /usr/local/cpanel/Cpanel/Wrap.pm line 133, <$socket> line 1.
      Cpanel::Wrap::send_cpwrapd_request("function", "ADD", "no_cperror", 1, "namespace", "Cpanel", "env", HASH(0x3c20cb8), "module", ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 64
      Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "ssl", "function", "ADD", "data", HASH(0x2012e28), "action", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 251
      Cpanel::AdminBin::_adminfetch("module", "ssl", "function", "ADD", "format", "storable", "cache_check_files", "", "cache", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 177
      Cpanel::AdminBin::fetch_adminbin_nocache_with_status("ssl", undef, "ADD", "storable", HASH(0x2012e28)) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1699
      Cpanel::API::SSL::_install("__client_domain_name__", "__client_domain_name___b8d58_1acf5_1513295999_83551abef59"..., "b8d58_1acf5_eaaeca83953a49bb8254ab7dfe313873", "-----BEGIN CERTIFICATE-----\x{a}MIIFdDCCBFygAwIBAgIQJ2buVutJ846r1"..., Cpanel::Result=HASH(0x374af18)) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1321
      Cpanel::API::SSL::install_ssl(Cpanel::Args=HASH(0x374b350), Cpanel::Result=HASH(0x374af18)) called at /usr/local/cpanel/Cpanel/API.pm line 287
      Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 359
      eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 359
      Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x374af18), CODE(0x374b530)) called at /usr/local/cpanel/Cpanel/API.pm line 287
      Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x374b350), Cpanel::Result=HASH(0x374af18), "SSL", "install_ssl") called at /usr/local/cpanel/Cpanel/API.pm line 142
      Cpanel::API::execute("SSL", "install_ssl", HASH(0x2cc8c00)) called at /usr/local/cpanel/Cpanel/API.pm line 550
      Cpanel::API::run_api_mode(HASH(0x2cc8c00)) called at uapi.pl line 281
      main::script() called at uapi.pl line 94
    [2016-12-15 09:57:23 +1100] info [dovecot-auth] [360887] Waiting for lock on /etc/login.defs held by /usr/local/cpanel/bin/dovecot-wrap - waiting for lock on /etc/login.defs with pid 360888
    
    [2016-12-15 09:59:04 +1100] warn [Internal Warning while parsing [stdin] 361486] OCSP response failed: unauthorized at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
     at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
      Cpanel::SSL::OCSP::cert_is_revoked("-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "http://ocsp.comodoca.com", "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 174
      Cpanel::SSL::Objects::Certificate::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x24a89d0), Try::Tiny::Catch=REF(0x24df8a0)) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 179
      Cpanel::SSL::Objects::Certificate::revoked(Cpanel::SSL::Objects::Certificate=HASH(0x2440930), "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 128
      Cpanel::Domain::TLS::Write::set_tls(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 686
      Cpanel::SSLInstall::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x24b4cc8), Try::Tiny::Catch=REF(0x24afd70)) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 692
      Cpanel::SSLInstall::real_installssl("crt", "-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "enable_sni_for_mail", 0, "cab", "-----BEGIN CERTIFICATE-----\x{a}MIIFdDCCBFygAwIBAgIQJ2buVutJ846r1"..., "domain", "__client_domain_name__", "ip", ...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 93
      Cpanel::SSLInstall::install_or_do_non_sni_update(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/ssl.pl line 167
      bin::ssladmin::perform_add("__client_username__", "ADD") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 124
      Cpanel::AdminBin::Script::Legacy::script("Cpanel::AdminBin::Script::Legacy", HASH(0x154c4b0), 678) called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      Cpanel::AdminBin::Script::Legacy::run_adminbin("bin::ssladmin", HASH(0x154c4b0)) called at bin/admin/Cpanel/ssl.pl line 77
    
    
    [2016-12-15 09:59:05 +1100] warn [Internal Warning while parsing [stdin] 361486] OCSP response failed: unauthorized at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
     at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
      Cpanel::SSL::OCSP::cert_is_revoked("-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "http://ocsp.comodoca.com", "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 174
      Cpanel::SSL::Objects::Certificate::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x2826f78), Try::Tiny::Catch=REF(0x2a90b28)) called at /usr/local/cpanel/Cpanel/SSL/Objects/Certificate.pm line 179
      Cpanel::SSL::Objects::Certificate::revoked(Cpanel::SSL::Objects::Certificate=HASH(0x2a90270), "-----BEGIN CERTIFICATE-----\x{a}MIIGCDCCA/CgAwIBAgIQKy5u6tl1NmwUi"...) called at /usr/local/cpanel/Cpanel/Domain/TLS/Write.pm line 128
      Cpanel::Domain::TLS::Write::set_tls(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 686
      Cpanel::SSLInstall::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
      eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
      Try::Tiny::try(CODE(0x24b4500), Try::Tiny::Catch=REF(0x2487888)) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 692
      Cpanel::SSLInstall::real_installssl("crt", "-----BEGIN CERTIFICATE-----\x{a}MIIGcjCCBVqgAwIBAgIQDUKTeX5K6AJ31"..., "enable_sni_for_mail", 0, "cab", "-----BEGIN CERTIFICATE-----\x{a}MIIFdDCCBFygAwIBAgIQJ2buVutJ846r1"..., "domain", "__client_domain_name__", "ip", ...) called at /usr/local/cpanel/Cpanel/SSLInstall.pm line 93
      Cpanel::SSLInstall::install_or_do_non_sni_update(__CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, __CPANEL_HIDDEN__..., __CPANEL_HIDDEN__, ...) called at bin/admin/Cpanel/ssl.pl line 167
      bin::ssladmin::perform_add("__client_username__", "ADD") called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 124
      Cpanel::AdminBin::Script::Legacy::script("Cpanel::AdminBin::Script::Legacy", HASH(0x154c4b0), 678) called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      eval {...} called at /usr/local/cpanel/Cpanel/AdminBin/Script/Legacy.pm line 26
      Cpanel::AdminBin::Script::Legacy::run_adminbin("bin::ssladmin", HASH(0x154c4b0)) called at bin/admin/Cpanel/ssl.pl line 77
    
    
    [2016-12-15 09:59:05 +1100] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ssl] function=[ADD]: statusmsg=[Cpanel::AdminBin::Server: Received invalid syntax from adminbin: Cpanel/ssl/ADD: syntax_ok=[[A warning occurred while processing this directive.]]] at /usr/local/cpanel/Cpanel/Wrap.pm line 133, <$socket> line 1.
      Cpanel::Wrap::send_cpwrapd_request("data", HASH(0x2012e28), "module", "ssl", "env", HASH(0x3ff3098), "namespace", "Cpanel", "function", ...) called at /usr/local/cpanel/Cpanel/Wrap.pm line 64
      Cpanel::Wrap::send_cpwrapd_request_no_cperror("namespace", "Cpanel", "module", "ssl", "function", "ADD", "data", HASH(0x2012e28), "action", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 251
      Cpanel::AdminBin::_adminfetch("module", "ssl", "function", "ADD", "format", "storable", "cache_check_files", "", "cache", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 177
      Cpanel::AdminBin::fetch_adminbin_nocache_with_status("ssl", undef, "ADD", "storable", HASH(0x2012e28)) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1699
      Cpanel::API::SSL::_install("__client_domain_name__", "__client_domain_name___b8d58_1acf5_1513295999_83551abef59"..., "b8d58_1acf5_eaaeca83953a49bb8254ab7dfe313873", "-----BEGIN CERTIFICATE-----\x{a}MIIFdDCCBFygAwIBAgIQJ2buVutJ846r1"..., Cpanel::Result=HASH(0x3b1ef68)) called at /usr/local/cpanel/Cpanel/API/SSL.pm line 1321
      Cpanel::API::SSL::install_ssl(Cpanel::Args=HASH(0x3b1f3a0), Cpanel::Result=HASH(0x3b1ef68)) called at /usr/local/cpanel/Cpanel/API.pm line 287
      Cpanel::API::__ANON__() called at /usr/local/cpanel/Cpanel/API.pm line 359
      eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 359
      Cpanel::API::_eval_guard(Cpanel::Result=HASH(0x3b1ef68), CODE(0x3b1f580)) called at /usr/local/cpanel/Cpanel/API.pm line 287
      Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x3b1f3a0), Cpanel::Result=HASH(0x3b1ef68), "SSL", "install_ssl") called at /usr/local/cpanel/Cpanel/API.pm line 142
      Cpanel::API::execute("SSL", "install_ssl", HASH(0x3b18710)) called at /usr/local/cpanel/Cpanel/API.pm line 550
      Cpanel::API::run_api_mode(HASH(0x3b18710)) called at uapi.pl line 281
      main::script() called at uapi.pl line 94
    
    
    
     
  8. integrateddigital

    integrateddigital Registered

    Joined:
    Dec 14, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Same here, is there a solution ?
     
  9. Andrew Lee

    Andrew Lee Registered

    Joined:
    Dec 14, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    South Korea
    cPanel Access Level:
    Root Administrator
    I have the same issue here.
    It looks like I installed the new SSL however I keep seeing this message.

    The certificate could not be installed on the domain “my-domain.com”.
    • unknown error
    When I visit the website it shows the old cPanel SSL instead of the new one. It seems that the new SSL can not overwrite the default cPanel SSL. I even turned off default cPanel SSL feature for the website however it looks the same. The old cPanel SSL still shows up on any browser.
     
    #9 Andrew Lee, Dec 14, 2016
    Last edited by a moderator: Dec 14, 2016
  10. Andrew Lee

    Andrew Lee Registered

    Joined:
    Dec 14, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    South Korea
    cPanel Access Level:
    Root Administrator
    I deleted the new cert in cPanel then installed it in WHM instead of in cPanel. It now works fine.
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    31,638
    Likes Received:
    756
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-10223 was opened to better handle “unauthorized” responses from OCSP queries during Comodo SSL certificate installations like seen here:

    Code:
    warn [Internal Warning while parsing [stdin] 360263] OCSP response failed: unauthorized at /usr/local/cpanel/Cpanel/SSL/OCSP.pm line 94.
    The “unauthorized” responses can result from delayed updates on Comodo OCSP servers with newly-issued certificates. Since the responses rarely suggests an error, and the error condition isn't something resolvable by the server administrator, the change in CPANEL-10223 will suppress this specific warning message. The case is scheduled for inclusion with cPanel version 62.

    If anyone encounters an issue where a new certificate isn't actually installed, feel free to open a support ticket so we can take a closer look.

    Thank you.
     
Loading...

Share This Page