cPanel API 2 Modules - SSL
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The SSL
module manages certificates, certificate requests, and keys on your server.
Available functions
-
cPanel API 2 Functions -
SSL::fetchcabundle
— This function retrieves a certificate's Certificate Authority (CA) bundle. -
cPanel API 2 Functions -
SSL::fetchinfo
— This function retrieves a domain's SSL certificate, private key, CA bundle, owner, and IP address. -
cPanel API 2 Functions -
SSL::gencrt
— This function generates a self-signed certificate. -
cPanel API 2 Functions -
SSL::gencsr
— This function generates a certificate signing request (CSR). -
cPanel API 2 Functions -
SSL::genkey
— This function generates an SSL key. -
cPanel API 2 Functions -
SSL::getcnname
— This function lists SSL certificate information for a cPanel service. -
cPanel API 2 Functions -
SSL::installssl
— This function installs an SSL certificate. -
cPanel API 2 Functions -
SSL::listcrts
— This function lists the account's SSL certificates. -
cPanel API 2 Functions -
SSL::listcsrs
— This function lists the host domains for the account's certificate signing requests (CSRs). -
cPanel API 2 Functions -
SSL::listkeys
— This function lists the account's SSL keys. -
cPanel API 2 Functions -
SSL::listsslitems
— This function lists the types of the account's installed SSL items. -
cPanel API 2 Functions -
SSL::uploadcrt
— This function uploads an SSL certificate. -
cPanel API 2 Functions -
SSL::uploadkey
— This function uploads an SSL key.