PHP 5 AutoInstallSslOrderRequest

Request a 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

Please choose you the ProductCode from this list: SSL Certificates

The php classes can be downloaded here: PHP-Classes

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

PHP 5 example

<?php
// Include the AWS-v3 classes
// please require ../live/autoload.php
require("../ote/autoload.php");
use ascio\v3 as ascio;
// The ote credentials
$user = 'username';
$password = 'password';
$header = new SoapHeader('http://www.ascio.com/2013/02','SecurityHeaderDetails', array('Account'=> $user, 'Password'=>$password), false);
// Add the encoding of your system here. ISO-8859-1 means that your values will be converted from ISO-8859-1 to UTF-8.
// This setting depends on your underlying system
$ascioClient     = new ascio\AscioService(array("trace" => true, "encoding" => "ISO-8859-1"));
$ascioClient->__setSoapHeaders($header);
$orderRequest = new ascio\AutoInstallSslOrderRequest(ascio\OrderType::Register);
$orderRequest->setPeriod(1); 
$autoInstallSsl = new ascio\AutoInstallSsl(0);
$autoInstallSsl->setCommonName("webrender.de");
$autoInstallSsl->setProductCode("positivesslwildcard");
$autoInstallSsl->setEmail("admin@webrender.de");
$orderRequest->setAutoInstallSsl($autoInstallSsl);
$createOrder = new ascio\CreateOrder($orderRequest);
$response = $ascioClient->createOrder($createOrder); 
var_dump($response);
WSDL for AWS v3
https://awstest.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)