Question
How to use command-line utility to manage certificates in Plesk?
Answer
The
utility allows managing client’s certificates through CLI. This utility allows performing the following tasks:
certificate
- creating and removing SSL certificates
- assigning certificates to IP addresses
- editing certain certificate parameters
For example, the following command displays the list of SSL certificates stored in administrator’s certificate repository:
# plesk bin certificate -l -admin
To displays the list of SSL certificates that can be used by domain example.com:
# plesk bin certificate -l -domain example.com
To see all available parameters, run the following:
# plesk bin certificate –help
Additional information about the utility available in the documentation for Plesk 11.x, Plesk 12.x, Plesk Onyx.
Note: on Linux systems, SSL certificates for Plesk are located in
/usr/local/psa/var/certificates/
The following resources can be useful while installing SSL certificates using web interface:
-
Plesk 12.0: Plesk Documentation and Help Portal
-
Plesk 12.5: Plesk Documentation and Help Portal
- Plesk Onyx: Plesk Documentation and Help Portal