Child pages
  • cPanel API 1 Functions - SSL::sslsharedstatus

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

This function displays whether the account uses a shared SSL certificate.


Warning
titleWarning:
  • We removed this function in cPanel & WHM version 76.
  • Include Page
    LIB:_cPanelAPI1NewerFunctions
    LIB:_cPanelAPI1NewerFunctions
  • UAPI (recommended)SSL::check_shared_cert
    Excerpt Include
    DD:UAPI Functions - SSL::check_shared_certDD:
    UAPI Functions - SSL::check_shared_cert
    nopaneltrue
  • cPanel API 2 None.


Panel
bgColor#F2F2F2
borderStylenone

Examples


Panel
bgColor#FFFFFF
borderStylenone


Expand
titleLiveAPI PHP Class


Code Block
languagephp
linenumberstrue
$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$ssl_shared_status = $cpanel->api1('SSL','sslsharedstatus'); // Call the function.

Include Page
LIB:_LiveAPIPHPLink
LIB:_LiveAPIPHPLink


Expand
titleLiveAPI Perl Module


Code Block
languageperl
linenumberstrue
my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $ssl_shared_status = $cpliveapi->api1('SSL','sslsharedstatus'); # Call the function.

Include Page
LIB:_LiveAPIPerlLink
LIB:_LiveAPIPerlLink


Expand
titlecPanel Tag System (deprecated)

Include Page
LIB:_cPanelTagsWarning
LIB:_cPanelTagsWarning

Code Block
languagetext
<cpanel Module="SSL::sslsharedstatus()">



Expand
titleCommand Line


Code Block
languagebash
cpapi1 --user=username SSL sslsharedstatus

Include Page
LIB:_cPanelAPI1CLINote
LIB:_cPanelAPI1CLINote


Expand
titleOutput (plaintext)


Code Block
languagexml
true




Parameters

This function does not accept parameters.

Returns

  • true — The account has a shared certificate.
  • false — The account does not have a shared certificate.