win-acme-dns-ovh

0.1.1 • Public • Published

win-acme-dns-ovh

Scripts for win-acme to allow DNS validation on OVH.

Instructions

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:

  1. Create certificate (full options)
  2. Manual input
  3. Common name: [your.domain]
  4. Friendly name: [Enter]
  5. Create verification records with your own scripts
  6. Path to script to create: C:\Program Files\nodejs\node.exe (should be your Node.js executable)
  7. Delete: Using the same script
  8. Create parameters: C:\src\win-acme-dns-ovh\index.js create {Identifier} {RecordName} {Token} (for index.js specify the directory of you local checkout)
  9. Delete parameters: C:\src\win-acme-dns-ovh\index.js delete {Identifier} {RecordName} {Token}
  10. CSR: default
  11. Certificate store: according to your needs
  12. Path for .pem files (in case you chose PEM encoded files above): something like C:\etc\letsencrypt\your.domain should be fine
  13. Additional store: according to your needs
  14. Installation step: according to your needs

win-acme will take care of creating the scheduled task to automatically renew the certificate.

Package Sidebar

Install

npm i win-acme-dns-ovh

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

11.5 kB

Total Files

13

Last publish

Collaborators

  • mcdado