Class GetSslCertificateResponse

PropertyDescription
GetSslCertificateResult
SslCertificateInfo
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

use SOAP::Lite;
use Date::Format;
$proxy = "https://awstest.ascio.com/2012/01/01/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite -> on_action( sub { "" } ) -> proxy($proxy);
$soap->autotype(0);
$method = SOAP::Data->name("GetSslCertificateResponse")
->attr({xmlns => $namespace});

#Registrant
$owner =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com"
);

#Extensions
$adminExtensions =  \SOAP::Data->value(
\SOAP::Data->value(
SOAP::Data->name("Key",""Title""),
SOAP::Data->name("Value",""Mrs."")
)
);

#Contact
$admin =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Extensions',$adminExtensions)
);

#Extensions
$techExtensions =  \SOAP::Data->value(
\SOAP::Data->value(
SOAP::Data->name("Key",""Title""),
SOAP::Data->name("Value",""Mrs."")
)
);

#Contact
$tech =  \SOAP::Data->value(
SOAP::Data->name('FirstName','John'),
SOAP::Data->name('LastName','Doe'),
SOAP::Data->name('OrgName','Ascio'),
SOAP::Data->name('Address1','Address1Test'),
SOAP::Data->name('City','CityTest'),
SOAP::Data->name('State','StateTest'),
SOAP::Data->name('PostalCode','888349'),
SOAP::Data->name('CountryCode','DK'),
SOAP::Data->name('Phone','+45.123456789'),
SOAP::Data->name('Email',"administrator@ascio-test-domain.com",
SOAP::Data->name('Type','owner'),
SOAP::Data->name('Extensions',$techExtensions)
);

#SslCertificateInfo
$sslCertificateInfo =  \SOAP::Data->value(
SOAP::Data->name('Handle','JD123'),
SOAP::Data->name('Created',new \DateTime()),
SOAP::Data->name('Expires',new \DateTime()),
SOAP::Data->name('CommonName','ascio-test-domain.com'),
SOAP::Data->name('ProductCode','positivessl'),
SOAP::Data->name('WebServerType','ApacheSsl'),
SOAP::Data->name('ApproverEmail','administrator@ascio-test-domain.com'),
SOAP::Data->name('CSR','-----BEGIN CERTIFICATE REQUEST-----MIIC2jCCAcICAQAwgZQxCzAJBgNVBAYTAkRFMRMwEQYDVQQIDApTb21lLVN0YXRlMQ8wDQYDVQQHDAZNdW5pY2gxEzARBgNVBAoMClRlc3RDb21hbnkxHjAcBgNVBAMMFWFzY2lvLXRlc3QtZG9tYWluLmNvbTEqMCgGCSqGSIb3DQEJARYbYWRtaW5AYXNjaW8tdGVzdC1kb21haW4uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwQ9AgF9B381tELA3BsKkIwu4Ddg0hOSfyrtBnm895ELPYG4YcPYXmauTxPu0oD6WhudQh2tbnN/QTRsZpdVgahS6uz7065wUC6IrvlcuaCx+e08vp/1VOIUrKfyrxkZ1mjrv4FwQ38y+ITejL46JBbKbhqbeovQymA/DmHmKUylNY3eud6w/Dp+QOoa1jIZRdHv5ie+ranOx9aYl0WeuzrIOeIVI7UKVF9d1o5r2h60wThLPzky9hux5uisGYZsWjFKOJUFZxkX4riResOWmkFy9KUV82MLuScrSJ4cVfVPmhN3tEpOtYhkJVkS0PvR7LCdL4rOF0pqzL71m2ZoMdQIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAHcDTCtBQmGcIarD4NFmKt+Tw3l2p+tGRA8OiT7dSTvJ1TavZYdcobFKkBhp/3T9ko4wncBChp97YWNWtQT+hoIrOh85QIMHW14JeVFk8AiptI5pI+DPHnSwSq4XANwwrUI/3zAeRtV7bQmP9upebZ3POJ9Bl9oarge8J2SJ6yM5Dizq9wmGgQlhEG9HuuvJHFGjci86m8yqbqlS8JaIvO2dA4OpEM3cCcu7jY13RYN4DT06VAx2okMJmAyxvG9eu45MIB/NzeV4SrqsTNqCkrXKiC9/rAzhl7eP3XDRI6XZFRq7qmIAQoZJqWSyl1f4cq+rbLIJ9xE+yII+qt/CVbc=-----END CERTIFICATE REQUEST-----'),
SOAP::Data->name('Certificate','CertificateTest'),
SOAP::Data->name('Owner',$owner),
SOAP::Data->name('Admin',$admin),
SOAP::Data->name('Tech',$tech),
SOAP::Data->name('SanNames',SOAP::Data->value(SOAP::Data->name('string','ascio-test-domain.com"')))
);

#GetSslCertificateResponse
$getSslCertificateResponse =  \SOAP::Data->value(
SOAP::Data->name('ResultCode',1),
SOAP::Data->name('ResultMessage','ResultMessageTest'),
SOAP::Data->name('Errors',SOAP::Data->value(SOAP::Data->name('string',''))),
SOAP::Data->name('SslCertificateInfo',$sslCertificateInfo)
);
WSDL for AWS v3
https://awstest.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)