ssl_decode_csr

Decode a CSR to verify its validity.

Inputs Description Type Regular expression Mandatory
CSR CSR to be decoded string Yes
productname product for which to decode CSR AlphaSSL
DomainSSL
WildcardSSL
OrganizationSSL
BusinessSSL
Yes

 

Outputs Description Possible values
CSR CSR to be decoded
productName Product name for which to decode CSR AlphaSSL
DomainSSL
WildcardSSL
OrganizationSSL
BusinessSSL
productCode Product code for which to decode CSR DV_LOW
DV
OV
EV
commonName CSR of commonName
organization CSR Organization data
organizationUnit CSR Organization unit data
locality CSR Locality data
state CSR State data
country CSR Country data
emailAddress CSR EMalAddress data
keyLength CSR encryption key Length 1024
2048
4096
8192
etc.

 

Error code

Error code Parameter Message Value comment
706 Unexpected error Error : … Unexpected error. Please contact Namebay for more information.

 

Command

<api>
[…]
<command>
<ssl_decode_csr>
<CSR>…</CSR>
<productName>…</productName>
</ssl_decode_csr>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
<resData>
<ssl_decode_csrData>
<CSR>…</CSR>
<productName>…</productName>
<productCode>…</productCode>
<commonName>…</commonName>
<organization>…</organization>
<organizationUnit>…</organizationUnit>
<locality>…</locality>
<state>…</state>
<country>…</country>
<emailAddress>…</emailAddress>
<keyLength>…</keyLength>
</ssl_decode_csrData>
</resData>
</api>