• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Replace Plesk Cert from command line

Fohnbit

New Pleskian
Hello,

I renew my SSL Cert on my hoster and forgot to update this in plesk.
Later I was not to able to open Plesk or my websites, because of
Error code: SEC_ERROR_REVOKED_CERTIFICATE

In the meantime I import the new cert in plesk command line and assign this to my domains:
Bash:
root@dlc:/usr/local/requests# plesk bin certificate -l -admin
CSR Priv Cert CA Name                     Used
Y   Y    Y    Y  xxx Cert 2 22-03-2020 2

Listing of SSL/TLS certificates repository was successful
root@dlc:/usr/local/requests# plesk bin certificate -l -domain xxx.com
CSR Priv Cert CA Name                     Used
N   Y    Y    Y  xxx Wildcard          1
Y   Y    Y    Y  xxx Cert 2 22-03-2020 5

The "xxx Wildcard" is the old one.
I could not delete because:
Bash:
root@dlc:/usr/local/requests# plesk bin certificate --remove "xxx Wildcard" -domain xxx.com
One of the certificates you are going to delete is used for securing Plesk.

exit status 1

How could I update the securing cert for Plesk itself?

I´m not able to login to plsek webfront, because same error:
Secure Connection Failed

An error occurred during a connection to xxx:8443. Peer’s Certificate has been revoked.

Error code: SEC_ERROR_REVOKED_CERTIFICATE


Thank you!
 
You dont even have to do this via SSH. The easier way is to start Chrome with the "--ignore-certificate-errors" parameter (see HERE) and Log in your Web-Panel of Plesk and change the Certificate.

Pls notice: after this remove the parameter again.
 
It depends on with which domain you are logging in?

You can see the FQDN/Hostname you should use and secure there:

Plesk FQDN.PNG

This domain ahve to be secured with a legit SSL Cert.

After this remove the "--ignore-certificate-errors" Parameter from Chrome and retry again and check if it now working.

#EDIT
great, thank you .. its running now

You have been faster ;)
Have fun! And pls mark this Thread as solved, so others can find the answer/solution faster
 
Back
Top