SSLCertificateRenew

Extend a SSL certificate. Note: fees will be charged!

Input

Parameter Value Example value
id SSL certificate ID. Retrieve with SSLListCertificates
Parameter is required
1
term Min 1 max 3. Amount year to renew SSL certificate.
Parameter is required
1
csr CSR code.
Parameter is required.
--CSR CODE--
approver_email Approver email to appprove certificate. Retrieve with SSLListApproverEmails
Parameter is required for 'domain-validation' and 'wildcard' certificates
email@email.uk
street Street and housenumber
Parameter is only required for 'extended-validation' certificates.
Street 123
zipcode Zipcode
Parameter is alleen required voor 'extended-validation' certificaten.
1111aa
san_names Extra domains wich u want to add to a multi domain EV certificate. Seperate with comma. Max 99. Standard 4 names are included for free. After you pay 50 GBP per extra SAN name.
Parameter is not required and only possible for extended-validation multi_domain certificate.
domain1.nl,domain2.com,domain3.org


Output

Parameter Value Example value
success command executed successfully 0 = fout
1 = command executed successfully
command_response_message Error
Only sent when value parameter success = 0
incorrect password


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "SSLCertificateRenew", "id" => "5", "term" => "1", "csr" => "csr code", "approver_email" => "email@email.uk", "street" => "Street 123", "zipcode" => "1111aa", "san_names" => "domain1.nl,domain2.com,domain3.org" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { echo ("Succeed. New id:". $versio['id']); } ?>