API Format domainValidationMethods

From Openprovider API documentation

Jump to: navigation, search

Contents

Format specification > domainValidationMethods

This parameter is optional and allows you to select a specific method for Domain Validation.

Hostnames in the array must be equal to hostnames specified in the request (commonName and SANs from the CSR and hostnames).

COMODO. Allowed values for each hostname

(a valid approver e-mail address) This is the default value and will trigger e-mail based domain validation. Use retrieveApproverEmailListSslCertRequest to retrieve a list of accepted values.
dns This parameter will let the CA validate the domain based on the existence of certain DNS records. See our Knowledge Base for the required DNS records.
http This parameter will let the CA validate the domain based on the existence of a specific file on the domain's web space (over https://). See our Knowledge Base for the required file name and content.
https This parameter will let the CA validate the domain based on the existence of a specific file on the domain's web space (over http://). See our Knowledge Base for the required file name and content.

Examples

Using PHP class

array(
  array(
    'hostName' => 'openprovider.nl',
    'method' => 'admin@openprovider.nl'
  ),
  array(
    'hostName' => 'openprovider.be',
    'method' => 'dns'
  ),
  array(
    'hostName' => 'openprovider.eu',
    'method' => 'http'
  ),
  array(
    'hostName' => 'openprovider.com',
    'method' => 'https'
  ),
);

Raw XML

<domainValidationMethods>
  <array>
    <item><hostName>openprovider.nl</hostName><method>admin@openprovider.nl</method></item>
    <item><hostName>openprovider.be</hostName><method>dns</method></item>
    <item><hostName>openprovider.eu</hostName><method>http</method></item>
    <item><hostName>openprovider.com</hostName><method>https</method></item>
  </array>
</domainValidationMethods>

Symantec. Allowed values

Symantec includes the brands Symantec, GeoTrust, thawte and RapidSSL. Note that Symantec does not allow different validation methods within one multi-domain certificate.

dns This parameter will let the CA validate the domain based on the existence of certain DNS records. See our Knowledge Base for the required DNS records.
http This parameter will let the CA validate the domain based on the existence of a specific file on the domain's web space (over http://). See our [TBD] for the required file name and content.
https This parameter will let the CA validate the domain based on the existence of a specific file on the domain's web space (over https://). See our [TBD] for the required file name and content.
(a valid approver e-mail address) Traditional whois email based approval

Examples

Using PHP class

array(
  array(
    'hostName' => 'openprovider.be',
    'method' => 'dns'
  ),
);

Raw XML

<domainValidationMethods>
   <array>
       <item><hostName>openprovider.be</hostName><method>dns</method></item>
   </array>
</domainValidationMethods>
Views
Personal tools