API Format domainValidationMethods
From Openprovider API documentation
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/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. |
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>