• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question secure plesk certificate over CLI does not work

Jens Johansson

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