• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Existing SSL cert removal

RobbieL

New Pleskian
So after the palaver yesterday, I managed to remove everything to a degree enough to reinstall Plesk. I'm still having quite a few issues but at least the websites are up and running again.

One of the more important ones is SSL certificates. Apparently they still exist somewhere, but they're not showing up in Plesk.

I tried doing /usr/local/psa/bin/certificate -l -domain <domain>, however that returns:

PHP Notice: Undefined index: CSR; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

Error occured while sending feedback. HTTP code returned: 502
PHP Notice: Undefined index: Priv; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

Error occured while sending feedback. HTTP code returned: 502
PHP Notice: Undefined index: Cert; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

Error occured while sending feedback. HTTP code returned: 502
PHP Notice: Undefined index: CA; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

PHP Notice: Undefined index: Name; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

PHP Notice: Undefined index: Used; File: /usr/local/psa/admin/plib/api-common/cuCertificate.php, Line: 878

CSRPrivCertCANameUsed

When the backup restore was done, one of the errors was:

Execution of /usr/local/psa/admin/plib/api-cli/certificate.php --create '' -cert-file /usr/local/psa/PMM/tmp/pmm-cert-1AMFyI -key-file /usr/local/psa/PMM/tmp/<key> -print-signature -admin -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-create' parameter. '' cannot be shorter than 1 or longer than 251 characters.

I also tried a MySQL method to repopulate but that spazzes out and doesn't do the trick either.

How can I either re-populate Plesk with the existing certificates or remove the old ones so I can put them in again?
 
Back
Top