Comments (2)
I can confirm that using
--server "https://acme-v02.api.letsencrypt.org/directory"
does the job at poking the right acme server for initiating the challenge!
from certbot-route53.
I had the same issue. As far as I can tell the problem is when you specify 2 'subdomains' (*.mylinuxguy.org and mylinuxguy.org) the auth hook is invoked twice. That means you need to create 2 TXT records for _acme-challenge.mylinuxguy.org.
However, the script uses the route53 change-resource-record-sets
command with an UPSERT
(which is correct), but it means the second hook overrides the first.
The way I fixed it is to no-op on the first hook but to write the certbot validation value to a file. Then on the second request I write both values to the TXT record using route53 change-resource-record-sets
That means your JSON change needs to look something like
{
"Changes":[
{
"Action":"${ACTION}",
"ResourceRecordSet":{
"ResourceRecords":[
{
"Value": "\"$PREVIOUS_CERTBOT_VALIDATION\""
},
{
"Value": "\"$CERTBOT_VALIDATION\""
}
],
"Name":"_acme-challenge.${CERTBOT_DOMAIN}.",
"Type":"TXT",
"TTL":30
}
}
]
}
This works for both the auth-hook and the auth-hook cleanup.
from certbot-route53.
Related Issues (14)
- No hosted zone found that matches domain or hostname HOT 5
- Renewal
- Problem when strip out the hostname part to leave only the domain HOT 1
- Error parsing parameter '--change-batch': Invalid JSON: Expecting ',' delimiter HOT 3
- Reference `bash` instead of `sh` HOT 1
- "Usage" refers to `sh` instead of `bash`
- ./certbot-route53.sh: 29: ./certbot-route53.sh: Syntax error: redirection unexpected HOT 1
- [macOS] requires GNU sed
- SERVFAIL looking up TXT for _acme-challenge.<domain> HOT 1
- Debian Config and Script Paths HOT 4
- SERVFAIL looking up TXT for _acme-challenge.remcam.io HOT 4
- Not installable using PIP on Fedora 26 HOT 1
- No longer able to request or renew certificates since the latest merge HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from certbot-route53.