• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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