Create SSL certificate

					StructOperationResponse WebHostingSSLCertCreate(string $IDsession, string $id, string $sslName, string $crt, string $key, string $ca, [string $csr])

Create a SSL certificate.


  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • sslName string
    Name of the certificate.
  • crt string
    Certificate string.
  • key string
    Private key string.
  • ca string
    Certificate Authority string.

  • csr string
    Certificate Signing Request string.

An Object of type StructOperationResponse

$clientSOAP = new SoapClient("http://URL.wsdl");
    $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
    $clientSOAP->WebHostingSSLCertCreate($idSession, "NW1024", "", "-----BEGIN CERTIFICATE----- ..........", "-----BEGIN PRIVATE KEY----- ..........", "-----BEGIN CERTIFICATE----- .........."); 
catch(SoapFault $fault) 
    echo "Exception : " .$fault->getMessage(). "\n"; 
if (isset($idSession))