Scripts for win-acme to allow DNS validation on OVH.
First of all, obtain credentials from OVH: https://github.com/ovh/node-ovh#login-as-a-user
Then, copy .env.example
, rename the copy to just .env
and fill in the values, like in this:
# example values, get yours from OVH
OVH_ENDPOINT=ovh-eu
OVH_APP_KEY=383w8gb8DkVjP36L
OVH_APP_SECRET=bNDbrEg6z6w672EZjoKJvzninym37234
OVH_CUSTOMER_KEY=d7vA2PsGef6vkVvf7y4HfzYb987e32Mx
Now you can setup win-acme to use these scripts for DNS-01 challenge. Here is a rough step-by-step walkthrough of the prompts from win-acme:
- Create certificate (full options)
- Manual input
- Common name: [your.domain]
- Friendly name: [Enter]
- Create verification records with your own scripts
- Path to script to create:
C:\Program Files\nodejs\node.exe
(should be your Node.js executable) - Delete: Using the same script
- Create parameters:
C:\src\win-acme-dns-ovh\index.js create {Identifier} {RecordName} {Token}
(for index.js specify the directory of you local checkout) - Delete parameters:
C:\src\win-acme-dns-ovh\index.js delete {Identifier} {RecordName} {Token}
- CSR: default
- Certificate store: according to your needs
- Path for .pem files (in case you chose PEM encoded files above): something like
C:\etc\letsencrypt\your.domain
should be fine - Additional store: according to your needs
- Installation step: according to your needs
win-acme will take care of creating the scheduled task to automatically renew the certificate.