autoferrit/docker-letsencrypt-response


Easily setup letsencrypt in manual mode for your domain using docker and/or flask (python)

License: MIT

Language: Ruby


run this and point your domain in the proper IP address, so when running letsencrypt in manual mode, it will poll the domain and hit this app. Make sure to populate the ENV variable LETSENCRYPT_RESPONSE with what the expected response should be.

First run letsencrypt in manual mode:

./letsencrypt-auto certonly -a manual -d some.domain.com

It will then ask for admin password on your system, and ask if it is ok to log your IP as the requestor. Once accepted, then it will give you the expected URL, as well as the expected response. When Starting this container make sure to populate the env variable LETSENCRYPT_RESPONSE with the expected response.

Example:

docker run -d --restart=always -p 80:5000 -e "LETSENCRYPT_RESPONSE=expected.response" --name=letsencrypt-response skiftcreative/letsencrypt-response

First confirm now that the url does in fact respond with the proper response. When it does, hit [enter] in your terminal to tell it to make the request and you should now have your certs.

If you have ways to improve this, I am more than willing to take issues, and pull requests at

https://gitlab.com/skift/docker-letsencrypt-response

And it will be available over port 80. If you are using a proxy then adjust the ports in use accordingly to your setup.

It also has a docker image available to pull at

https://hub.docker.com/r/skiftcreative/letsencrypt-response/

Project Statistics

Sourcerank 3
Repository Size 709 KB
Stars 0
Forks 0
Watchers 6
Open issues 0
Dependencies 1
Contributors 3
Tags 43
Created
Last updated

Top Contributors See all

Steve England Alex Heeton Jordan Elver

Recent Tags See all

v0.5.4 May 23, 2012
v0.5.3 April 27, 2012
v0.5.2 March 05, 2012
v0.5.1 February 06, 2012
v0.5.0 February 03, 2012
v0.4.2 January 05, 2012
v0.4.1 December 02, 2011
v0.4.0 November 29, 2011
v0.3.3 July 19, 2011
v0.2.11 July 18, 2011
v0.3.2 July 18, 2011
0.3.2 July 18, 2011
v0.3.1 July 13, 2011
v0.3.0 July 12, 2011
v0.2.10 June 27, 2011

Something wrong with this page? Make a suggestion

Last synced: 2019-05-11 09:12:47 UTC

Login to resync this repository