• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question secure plesk certificate over CLI does not work

ESTUGO

Basic Pleskian
Hi there,

i want to update the plesk certificate (login over the browser). The CLI has nice commands, but no command for "Secure Plesk". How can i set "secure plesk" over CLI? We have to update many server.

When i follow the steps in the panel (in the browser) ->"Tools & Settings -> SSL Certificates -> Secure Plesk", this works. The browser show me the new certificate.

When i place the new keys in "/usr/local/psa/admin/conf/httpsd.pem", after a server reboot the panel show me the old certificate.

I use CentOS 6.8/7.3 with Plesk 12.5 and all current micro updates.

Who can help me?
 
Try to use:

# /usr/local/psa/admin/bin/certmng --help
Usage: certmng [OPTIONS]...

--setup-cp-certificate --certificate=<cert_file> [--rootchain-certificate=<rootchain_cert_file>]
 
Back
Top