Self Help Documentation
< All Topics

tool/installssl

Description

Installs a free Let’s encrypt or a custom SSL certificate to any domain or sub-domain in a given SPanel user account.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
accountuserstringYesThe SPanel user account that is being managed or viewed.
actionstringYesThe category and function being executed.
domainstringYesThe domain the SSL certificate will be installed to.
customstringNoDefault: false (empty). Set to true if you want to install a custom SSL certificate instead of the free Let’s encrypt SSL certificate.
crtstringNoRequired if ‘custom’ is set to true. The certificate (CRT).
keystringNoRequired if ‘custom’ is set to true. The private key of the new certificate.
castringNoRequired if ‘custom’ is set to true. The CA bundle of the new certificate.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents