pem.importCertificate
This method is supported by Operations starting from version 2.3.
This method allows import SSL certificate on a specific site.
Name |
Type |
Short Description |
---|---|---|
|
int |
The ID of Domain to add a Certificate to |
|
string |
Certificate sent in raw data form |
|
string |
Certificate’s private key in raw data |
|
string |
CA certificate |
The ca_cert
parameter and the pair of parameters of cert
and priv_key
are optional each to other. They can be transmitted both or any one of these as well. The method has no output values.
Important: If you have second (or third) level CA certificate (CA certificates chain), it is necessary to import all CA certificates from the chain. Several certificates can be passed within the ca_cert
field. The certificates must be separated with empty line, that is, add two line breaks between CA certificates.