• 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.

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