PHP 5 AutoInstallSslOrderRequest

Renew an AutoInstallSSL token.

Makes the SSL installation automated with CPanel, Plesk

  • Generation of CSR and private keys
  • Approval process
  • Installation of the certificate on the webserver

Video how it works

Response AutoInstallSslOrderRequest(OrderType $OrderType)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
501Syntax error in parameters or arguments
506Required attribute missing in request

AutoInstallSslOrderRequest Request

PropertyDescription
AutoInstallSsl
TypeExample: "owner"
PeriodExample: 1
TransactionComment
Comments
Documentation
Options

Used in Classes

PropertyValue
OrderTypeRenew
requestAutoInstallSslOrderRequest

PHP 5 example

<?php
$wsdl = "https://awstest.ascio.com/v3/aws.wsdl";
//$wsdl = "https://aws.ascio.com/2012/01/01/AscioService.wsdl";
$client = new SoapClient($wsdl,array( "trace" => 1 ));

//AutoInstallSsl

$autoInstallSsl= array(
	"Handle" => "JD123"
);
//AutoInstallSslOrderRequest

$request= array(
	"AutoInstallSsl" => $autoInstallSsl,
	"Type" => "Renew",
	"Period" => 1
);
//CreateOrder

$createOrder= array(
	"request" => $request
);
try{	
    $result = $client->createOrder($createOrder);
    echo "ResultCode : ".$result->CreateOrderResult->ResultCode."\r\n";
    echo "ResultMessage : ".$result->CreateOrderResult->Message."\r\n";
    if($result->CreateOrderResult->Values) {
        foreach($result->CreateOrderResult->Values as $key => $value) {
            echo $value->string."\r\n";
        }
    }
} catch(Exception $e) {
	echo $e->getMessage(); 
}

WSDL for AWS v3
https://awstest.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.