Description

This function checks whether a shared SSL certificate is associated with the account.

Examples 


https://hostname.example.com:2083/cpsess##########/execute/SSL/check_shared_cert

$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
 
// Check whether a shared SSL certificate is associated with the account.
$SSL_check_shared_cert = $cpanel->uapi(
    'SSL', 'check_shared_cert'
);

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
 
# Check whether a shared SSL certificate is associated with the account.
my $SSL_check_shared_cert = $cpliveapi->uapi(
    'SSL', 'check_shared_cert',
);

<!-- Check whether a shared SSL certificate is associated with the account. -->
[% data = execute( 'SSL', 'check_shared_cert', ); %]
[% FOREACH q = data %]
     <p>
         [% q %]
     </p>
[% END %]

uapi --user=username SSL check_shared_cert

{
  "messages": null,
  "errors": null,
  "status": 0,
  "metadata": {
    
  },
  "data": null
}

Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible valuesExample
status BooleanWhether a shared SSL certificate is associated with the account.
  • 1 — Associated.
  • 0 — Not associated.
0