Ascio Web Service v3
Class GetSslCertificatesResponse
Property | Description |
---|---|
GetSslCertificatesResult | |
TotalCount | Example: 1 |
SslCertificateInfos | |
ResultCode | Example: 1 |
ResultMessage | |
Errors |
Used in Classes
Used in examples
use SOAP::Lite;
use Date::Format;
$proxy = "https://aws.demo.ascio.com/v3/AscioService.svc";
$namespace = "http://www.ascio.com/2007/01";
$soap = SOAP::Lite
->on_action( sub { "" } )
->proxy($proxy)
->ns("http://www.ascio.com/2013/02", "v3")
->ns("http://www.ascio.com/2013/02/AscioService", "service");
# Please enter your ascio-credentials here
my $header = SOAP::Header->new(
name =>"v3:SecurityHeaderDetails",
value => {"v3:Account" => "username", "v3:Password" =>"password"}
);
$soap->autotype(0);
$method = SOAP::Data->name("service:GetSslCertificatesResponse")->attr({xmlns => $namespace});
#Registrant
$owner = \SOAP::Data->value(
SOAP::Data->name('v3:FirstName','John'),
SOAP::Data->name('v3:LastName','Doe'),
SOAP::Data->name('v3:OrgName','Ascio'),
SOAP::Data->name('v3:Address1','Address1Test'),
SOAP::Data->name('v3:Address2','Address2Test'),
SOAP::Data->name('v3:City','CityTest'),
SOAP::Data->name('v3:State','StateTest'),
SOAP::Data->name('v3:PostalCode','888349'),
SOAP::Data->name('v3:CountryCode','DK'),
SOAP::Data->name('v3:Phone','+45.123456789'),
SOAP::Data->name('v3:Fax','+45.987654321'),
SOAP::Data->name('v3:Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('v3:Type','owner'),
SOAP::Data->name('v3:Details','DetailsTest'),
SOAP::Data->name('v3:OrganisationNumber','OrganisationNumberTest'),
SOAP::Data->name('v3:VatNumber','VatNumberTest'),
SOAP::Data->name('v3:NexusCategory','NexusCategoryTest')
);
#KeyValue
$keyValue = \SOAP::Data->value(
SOAP::Data->name('v3:Key','Title'),
SOAP::Data->name('v3:Value','Mr.')
);
#Extensions
$adminExtensions = \SOAP::Data->value(
);
#Contact
$admin = \SOAP::Data->value(
SOAP::Data->name('v3:FirstName','John'),
SOAP::Data->name('v3:LastName','Doe'),
SOAP::Data->name('v3:OrgName','Ascio'),
SOAP::Data->name('v3:Address1','Address1Test'),
SOAP::Data->name('v3:Address2','Address2Test'),
SOAP::Data->name('v3:City','CityTest'),
SOAP::Data->name('v3:State','StateTest'),
SOAP::Data->name('v3:PostalCode','888349'),
SOAP::Data->name('v3:CountryCode','DK'),
SOAP::Data->name('v3:Phone','+45.123456789'),
SOAP::Data->name('v3:Fax','+45.987654321'),
SOAP::Data->name('v3:Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('v3:Type','owner'),
SOAP::Data->name('v3:Details','DetailsTest'),
SOAP::Data->name('v3:OrganisationNumber','OrganisationNumberTest'),
SOAP::Data->name('v3:Extensions',$adminExtensions)
);
#KeyValue
$keyValue = \SOAP::Data->value(
SOAP::Data->name('v3:Key','Title'),
SOAP::Data->name('v3:Value','Mr.')
);
#Extensions
$techExtensions = \SOAP::Data->value(
);
#Contact
$tech = \SOAP::Data->value(
SOAP::Data->name('v3:FirstName','John'),
SOAP::Data->name('v3:LastName','Doe'),
SOAP::Data->name('v3:OrgName','Ascio'),
SOAP::Data->name('v3:Address1','Address1Test'),
SOAP::Data->name('v3:Address2','Address2Test'),
SOAP::Data->name('v3:City','CityTest'),
SOAP::Data->name('v3:State','StateTest'),
SOAP::Data->name('v3:PostalCode','888349'),
SOAP::Data->name('v3:CountryCode','DK'),
SOAP::Data->name('v3:Phone','+45.123456789'),
SOAP::Data->name('v3:Fax','+45.987654321'),
SOAP::Data->name('v3:Email',"administrator@ascio-test-domain.com"),
SOAP::Data->name('v3:Type','owner'),
SOAP::Data->name('v3:Details','DetailsTest'),
SOAP::Data->name('v3:OrganisationNumber','OrganisationNumberTest'),
SOAP::Data->name('v3:Extensions',$techExtensions)
);
#KeyValue
$keyValue = \SOAP::Data->value(
SOAP::Data->name('v3:Key','Title'),
SOAP::Data->name('v3:Value','Mr.')
);
#Extensions
$customerReferenceExtensions = \SOAP::Data->value(
);
#CustomerReferenceInfo
$customerReference = \SOAP::Data->value(
SOAP::Data->name('v3:Handle','JD123'),
SOAP::Data->name('v3:ExternalId','ExternalIdTest'),
SOAP::Data->name('v3:Description','DescriptionTest'),
SOAP::Data->name('v3:Extensions',$customerReferenceExtensions),
SOAP::Data->name('v3:CreationDate',time2str('%Y-%m-%dT%H:%M:%SZ', time, 'EST')),
SOAP::Data->name('v3:Status','StatusTest')
);
#SslCertificateInfo
$sslCertificateInfo = \SOAP::Data->value(
SOAP::Data->name('v3:Handle','JD123'),
SOAP::Data->name('v3:Status','StatusTest'),
SOAP::Data->name('v3:Created',new \DateTime()),
SOAP::Data->name('v3:Expires',new \DateTime()),
SOAP::Data->name('v3:CommonName','ascio-test-domain.com'),
SOAP::Data->name('v3:ProductCode','positivessl'),
SOAP::Data->name('v3:WebServerType','ApacheSsl'),
SOAP::Data->name('v3:ApproverEmail','administrator@ascio-test-domain.com'),
SOAP::Data->name('v3: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('v3:Certificate','CertificateTest'),
SOAP::Data->name('v3:Owner',$owner),
SOAP::Data->name('v3:Admin',$admin),
SOAP::Data->name('v3:Tech',$tech),
SOAP::Data->name('v3:SanNames',SOAP::Data->value()),
SOAP::Data->name('v3:ObjectComment','Example Object Comment'),
SOAP::Data->name('v3:ValidationType','Dns'),
SOAP::Data->name('v3:SslProductName','SslProductNameTest'),
SOAP::Data->name('v3:CustomerReference',$customerReference)
);
#ArrayOfSslCertificateInfo
$sslCertificateInfos = \SOAP::Data->value(
);
#GetSslCertificatesResponse
$getSslCertificatesResponse = \SOAP::Data->value(
SOAP::Data->name('v3:ResultCode',1),
SOAP::Data->name('v3:ResultMessage','ResultMessageTest'),
SOAP::Data->name('v3:Errors',SOAP::Data->value()),
SOAP::Data->name('v3:TotalCount',1),
SOAP::Data->name('v3:SslCertificateInfos',$sslCertificateInfos)
);
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.