• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How to set certificate to "Not Selected" by command line client?

Bitpalast

Plesk addicted!
Plesk Guru
Forwarded to devs - Let's Encrypt still causing issues with web server configuration on updating certificates has not yet been fixed. We need a solution for it, so we'd like to add an auto-repair to our watchdog scripts doing this:

1) Either set the certificate of the affected subscription to "Not Selected" or to "<server_certificate>" (where <server_certificate> is the name of the host's default certificate. Neither one can be done by
# plesk bin subscription -u <domain> -certificate-name "<certificate_name>"
The command returns "Unable to find certificate" if the server certificate name is used, and it is not for the reason that the server certificate has a specific name. It seems to only accept certificates inside the domain's repository. And there is no way to set "not selected".

2) Then remove the faulty certificate and run the Let's Encrypt extension again to re-recreate a certificate as that will then hopefully be named correctly.

3) Reconfigure the domain web server settings.

Problem: Step (1) does not work. There does not seem to be a way to set the SSL selection of a domain to "Not selected". But how is the GUI doing this when the user makes that choice? There has got to be an undocumented parameter to a client command. Does anyone know it?
 
Back
Top