HostFact API versie 3.1
SSL certificaten
SSL certificaten zijn te beheren via de controller 'ssl'.
uninstalled
Middels deze functie kunt u aangeven dat een SSL certificaat gedeïnstalleerd is, zodat deze uit het overzicht met verlopen certificaten zal verdwijnen.
Voorbeeldbestand: /voorbeelden/ssl/ssl.uninstalled.php
Invoerparameters:
| Veldnaam | Waarde | Omschrijving |
|---|---|---|
| Identifier | int | De unieke ID van een SSL certificaat |
| CommonName | string | De domeinnaam |
Voorbeeld invoer:
<?php
require_once("../hostfact_api.php");
$api = new HostFactAPI();
$sslParams = array(
//'Identifier' => '1',
'CommonName' => 'example3.com',
);
$response = $api->sendRequest('ssl', 'uninstalled', $sslParams);
print_r_pre($response);
?>Voorbeeld uitvoer:
Array
(
[controller] => ssl
[action] => uninstalled
[status] => success
[date] => 2022-11-24T12:00:00+02:00
[success] => Array
(
[0] => SSL certificaat example3.com is gedeïnstalleerd
)
[ssl] => Array
(
[Identifier] => 3
[CommonName] => example3.com
[Debtor] => 1
[DebtorCode] => DB0001
[Registrar] => 1
[SSLTypeID] => 1
[OwnerHandle] => 1
[AdminHandle] => 1
[TechHandle] => 1
[Type] => domain
[Wildcard] => no
[MultiDomain] => yes
[MultiDomainRecords] => Array
(
)
[ApproverEmail] => test@example3.com
[CSR] =>
[ServerSoftware] => linux
[Period] => 1
[RequestDate] => 2018-01-14
[RenewDate] => 2018-01-14
[RegistrarReference] =>
[Comment] =>
[Status] => uninstalled
[Created] => 2022-11-24 11:00:00
[Modified] => 2022-11-24 11:00:00
[SSLProductInfo] => Array
(
[Name] => SSL dummy product
[Brand] => SSLs
[TemplateName] =>
[Product] => 4
[Periods] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
[Type] => domain
[Wildcard] => no
[MultiDomain] => yes
[MultiDomainIncluded] => 4
[MultiDomainMax] => 10
)
[RegistrarInfo] => Array
(
[Identifier] => 1
[Class] => registrarclass
[Name] => Example registrar
[Testmode] => 1
[DefaultDNSTemplate] => 0
[AdminHandle] => 0
[TechHandle] => 0
)
)
)