Dear all,
First of all, thanks for all the great work you are doing here !
I'm trying to use DNS-01 challenge with the OVH provider and I have some troubles :
禄 lego --dns=ovh [email protected] --server=https://acme staging.api.letsencrypt.org/directory --domains=subdomain.domain.com run
2017/02/03 16:39:31 No key found for account [email protected]. Generating a curve P384 EC key.
2017/02/03 16:39:31 Saved key to ${CWD}/.lego/accounts/acme-staging.api.letsencrypt.org/[email protected]/keys/[email protected]
2017/02/03 16:39:32 [INFO] acme: Registering account for [email protected]
2017/02/03 16:39:32 !!!! HEADS UP !!!!
2017/02/03 16:39:32
Your account credentials have been saved in your Let's Encrypt
configuration directory at "${CWD}/.lego/accounts/acme-staging.api.letsencrypt.org/[email protected]".
You should make a secure backup of this folder now. This
configuration directory will also contain certificates and
private keys obtained from Let's Encrypt so making regular
backups of this folder is ideal.
2017/02/03 16:39:32 Please review the TOS at https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf
2017/02/03 16:39:32 Do you accept the TOS? Y/n
Y
2017/02/03 16:39:51 [INFO][subdomain.domain.com] acme: Obtaining bundled SAN certificate
2017/02/03 16:39:52 [INFO][subdomain.domain.com] acme: Could not find solver for: http-01
2017/02/03 16:39:52 [INFO][subdomain.domain.com] acme: Could not find solver for: tls-sni-01
2017/02/03 16:39:52 [INFO][subdomain.domain.com] acme: Trying to solve DNS-01
Error when call OVH api to add record : "invalid character '<' looking for beginning of value"
2017/02/03 16:39:52 [subdomain.domain.com] Could not obtain certificates
Error presenting token: invalid character '<' looking for beginning of value
With those 4 variables correctly set :
OVH_ENDPOINT=https://eu.api.ovh.com
OVH_APPLICATION_KEY=
OVH_APPLICATION_SECRET=
OVH_CONSUMER_KEY=
Do you have any idea where this may comes from ?
Thanks a lot !
any news?
Hi,
OVH is working fine for me using lego, the problem, at least in the @AlbinOS case, is that OVH_ENDPOINT should be using ovh-eu, not the full url, OVH uses that syntax in their API wrappers in different languages and Go isn't an exception.
You can see their example here: https://github.com/ovh/go-ovh#configuration
Mmm... Don't remember everything but I'm embarrassed to have missed that.
Thanks a lot for notifying me @skuda, I'll retry lego + caddy soon !
Most helpful comment
Mmm... Don't remember everything but I'm embarrassed to have missed that.
Thanks a lot for notifying me @skuda, I'll retry lego + caddy soon !