API Format domainValidationMethods
From Openprovider API documentation
(Difference between revisions)
WikiSysop (Talk | contribs)
(Created page with '==Format specification > domainValidationMethods== This parameter is only applicable to Comodo SSL certificates and contains an array of domain validation methods. This parameter…')
Newer edit →
(Created page with '==Format specification > domainValidationMethods== This parameter is only applicable to Comodo SSL certificates and contains an array of domain validation methods. This parameter…')
Newer edit →
Revision as of 08:37, 23 March 2015
Contents |
Format specification > domainValidationMethods
This parameter is only applicable to Comodo SSL certificates and contains an array of domain validation methods. This parameter is optional and allows you to select a specific method for Domain Validation.
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>