API Format domainValidationMethods
From Openprovider API documentation
(Difference between revisions)
Line 1: | Line 1: | ||
==Format specification > domainValidationMethods== | ==Format specification > domainValidationMethods== | ||
- | + | This parameter is optional and allows you to select a specific method for Domain Validation. | |
- | ==Allowed values for each hostname== | + | |
+ | ==COMODO. Allowed values for each hostname== | ||
{| border="1" cellpadding="4" | {| border="1" cellpadding="4" | ||
|- | |- | ||
Line 48: | Line 49: | ||
</array> | </array> | ||
</domainValidationMethods> | </domainValidationMethods> | ||
+ | |||
+ | ==Symantec. Allowed values for each hostname== | ||
+ | |||
+ | {| border="1" cellpadding="4" | ||
+ | |- | ||
+ | |'''dns''' | ||
+ | |This parameter will let the CA validate the domain based on the existence of certain DNS records. See our [http://support.openprovider.eu/entries/91159447 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. | ||
+ | |- | ||
+ | |'''email''' | ||
+ | |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> |
Revision as of 06:46, 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/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>