API Format domainValidationMethods

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Symantec. Allowed values for each hostname)
(Symantec. Allowed values for each hostname)
Line 63: Line 63:
|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.
|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'''
+
|'''(a valid approver e-mail address)'''
|Traditional whois email based approval
|Traditional whois email based approval
|}
|}

Revision as of 09:18, 28 September 2015

Contents

Format specification > domainValidationMethods

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


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 for each hostname

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