-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
How to use OVH domain api
It is a good security practice to limit the power of individual credentials to limit the damage in case anything goes wrong. acme.sh only requires access to the domain API to deal with the dns-01 challenge.
If you plan to manage SSL certificates for multiple/any zones:
https://api.ovh.com/createToken/?GET=/domain/zone/*&POST=/domain/zone/*&PUT=/domain/zone/*
If you plan to manage SSL certificates for a specif zone:
In the page, please select "Unlimited" for the Validity and replace mydomain.com
by the zone you need to manage
# application key
export OVH_AK="your application key"
# application secret
export OVH_AS="your application secret"
# consumer key
export OVH_CK="your consumer key"
acme.sh --issue -d mydomain.com --dns dns_ovh
The default is using ovh-eu region.
if you are using ovh-ca region,
Create app key here: https://ca.api.ovh.com/createToken/
Then please specify the region in the first step:
export OVH_END_POINT=ovh-ca
export OVH_AK="your application key"
export OVH_AS="your application secret"
export OVH_CK="your consumer key"
acme.sh --issue -d mydomain.com --dns dns_ovh
Supported regions:
#'ovh-eu' (default)
#'ovh-ca':
#'kimsufi-eu'
#'kimsufi-ca'
#'soyoustart-eu'
#'soyoustart-ca'
#'runabove-ca'
Buy me a beer, Donate to acme.sh if it saves your time. Your donation makes acme.sh better: https://donate.acme.sh/
如果 acme.sh 帮你节省了时间,请考虑赏我一杯啤酒🍺, 捐助: https://donate.acme.sh/ 你的支持将会使得 acme.sh 越来越好. 感谢