Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infomaniak: CNAME support #1790

Merged
merged 2 commits into from
Dec 24, 2022
Merged

Conversation

TeoGoddet
Copy link
Contributor

No description provided.

@TeoGoddet
Copy link
Contributor Author

Could not write tests, but here is a succesful command with this branch : '

./lego --accept-tos  --email "[email protected]" --dns infomaniak  --server=https://acme-staging-v02.api.letsencrypt.org/directory --domains *.blek.ch  --dns.resolvers 127.0.0.53 run 
2022/12/23 19:31:02 No key found for account [email protected]. Generating a P256 key.
2022/12/23 19:31:02 Saved key to /home/teogoddet/balelec/lego/dist/.lego/accounts/acme-staging-v02.api.letsencrypt.org/[email protected]/keys/[email protected]
2022/12/23 19:31:02 [INFO] acme: Registering account for [email protected]
!!!! HEADS UP !!!!

Your account credentials have been saved in your Let's Encrypt
configuration directory at "/home/teogoddet/balelec/lego/dist/.lego/accounts".

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.
2022/12/23 19:31:03 [INFO] [*.blek.ch] acme: Obtaining bundled SAN certificate
2022/12/23 19:31:03 [INFO] [*.blek.ch] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/4717024603
2022/12/23 19:31:03 [INFO] [*.blek.ch] acme: use dns-01 solver
2022/12/23 19:31:03 [INFO] [*.blek.ch] acme: Preparing to solve DNS-01
2022/12/23 19:31:03 [INFO] Found CNAME entry for "_acme-challenge.blek.ch.": "_acme-challenge.blili.ch."
2022/12/23 19:31:03 [INFO] domain "_acme-challenge.blili.ch" not found, trying with "blili.ch"
2022/12/23 19:31:05 [INFO] [*.blek.ch] acme: Trying to solve DNS-01
2022/12/23 19:31:05 [INFO] Found CNAME entry for "_acme-challenge.blek.ch.": "_acme-challenge.blili.ch."
2022/12/23 19:31:05 [INFO] [*.blek.ch] acme: Checking DNS record propagation using [127.0.0.53:53]
2022/12/23 19:31:07 [INFO] Wait for propagation [timeout: 1m0s, interval: 2s]
2022/12/23 19:31:07 [INFO] [*.blek.ch] acme: Waiting for DNS record propagation.
2022/12/23 19:31:09 [INFO] [*.blek.ch] acme: Waiting for DNS record propagation.
2022/12/23 19:31:11 [INFO] [*.blek.ch] acme: Waiting for DNS record propagation.
2022/12/23 19:31:20 [INFO] [*.blek.ch] The server validated our request
2022/12/23 19:31:20 [INFO] [*.blek.ch] acme: Cleaning DNS-01 challenge
2022/12/23 19:31:20 [INFO] Found CNAME entry for "_acme-challenge.blek.ch.": "_acme-challenge.blili.ch."
2022/12/23 19:31:21 [INFO] [*.blek.ch] acme: Validations succeeded; requesting certificates
2022/12/23 19:31:22 [INFO] [*.blek.ch] Server responded with a certificate.

@ldez ldez changed the title Allow CNAME for infomaniak DNS provider infomaniak: CNAME support Dec 23, 2022
@ldez ldez added this to the v4.10 milestone Dec 23, 2022
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldez ldez merged commit a824cab into go-acme:master Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants