Cpanel::SSL::listcrts

This article documents the usage of the Cpanel::SSL::listcrts function in relation to the cPanel interface. This tag can be used inside cPanel pages.


SYNOPSIS

Cpanel::SSL::listcrts


DESCRIPTION

This function lists installed SSL certificates for a cPanel user and their associated domains (parked, sub, addon).


VARIABLES

INPUT

NONE

OUTPUT

issuer (string)
Name of issuing authority.

ssltxt (string)
Text format of SSL certificate information. See WHM >> SSL Manager and click on a crt for format.

host (string)
Name of the domain the ceritificate is associated with. Format: domain.com or sub.domain.com

expiredate (string)
Date on which the SSL certificate expires. Format: Mon DD XX:XX:XX YYYY GMT


EXAMPLES

<?cp SSL::listcrts(% % % ,host,issuer,expiredate) ?>

This example will list all hosts that have SSL certificates, the issue of those certificates, and the expriation date of those certificates, for a cPanel user.


COPYRIGHT

Copyright 2007 cPanel Inc.