mikeblum / acme-api-gateway Goto Github PK
View Code? Open in Web Editor NEWLet's Encrypt hook for securing an Amazon API Gateway
Let's Encrypt hook for securing an Amazon API Gateway
API Gateway only supports certificates that have a key size of 2048; whereas by default, dehydrated ses KEYSIZE=4096. That means that by default, the certificate won't work and will generate an error when it's added to API Gateway.
The solution is to simply enter KEYSIZE=2048 in a config file for dehydrated
I'm not sure if this hook can change that, because it's with dehydrated. But it would be good if it can display a warning to the user if the keysize of the certificate is wrong...
Hi
This works great!
It would be even better if we didn't need to enter AWS_SECRET_ACCESS_KEY etc. as environment variables.
These can be obtained automatically by the aws cli. As an example, if I use the Route53 ruby hook from here:
https://github.com/lukas2511/dehydrated/wiki/Examples-for-DNS-01-hooks
... Then I don't need to enter AWS credentials, since they're automatically pulled from the EC2 instance. It would be great if this can use the same system...
Thanks!
Tom
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.