The certificate.exe
utility is used to manage SSL/TLS certificates.
Using this utility, you can perform the following tasks:
- creating and removing SSL/TLS certificates
- assigning certificates to IP addresses
- editing certain certificate parameters
Location
%plesk_cli%
Usage
certificate.exe <command> [<certificate name>] [<domain name>] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
]
Example
The following command creates the SSL/TLS certificate named Site
Certificate in domain’s certificate repository for domain
example.com
by using private key file D:keyskeyfile.key,
corresponding certificate file D:certcertfile.cert,
CA certificate
file D:certcacert.cert
, and associates the corresponding
certificate signing request file D:requestscsreq.csr
with the
certificate in Plesk:
plesk bin certificate.exe -c "Site Certificate" -domain example.com -key-file D:keyskeyfile.key -cert-file D:certcert.cert -cacert-file D:certcacert.cert -csr-file D:requestscsreq
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c
|
<certificate name> |
Creates an SSL/TLS certificate in a specified certificate For information on the options required by the command, refer |
To create the SSL/TLS… |