Sign inSign up

jasperla/docker-letsencrypt-verify

By jasperla

•Updated over 10 years ago

Tiny container to run the Lets Encrypt verification step

Image
1

377

jasperla/docker-letsencrypt-verify repository overview

⁠docker-letsencrypt-verify

Tiny container to run the Lets Encrypt verification step on a host where you may not have other means of serving the file.

⁠Usage

docker run --rm --name letsencrypt-verify -p 80:80 \
-e FILE=__FILE__ -e KEY=__KEY__ jasperla/letsencrypt-verify

Replace KEY and FILE with the value displayed here by the letsencrypt client:

http://test.example/.well-known/acme-challenge/__FILE__
before continuing:

__KEY__

⁠Rationale

For certain hosts it may not be desirable to run a webserver to serve the file required for the LE verification step. For example when you run the LE client with manual on a different host and use the SSL cert for a service other than a webserver. For such cases it could be handy to fire up a container, serve the verification code and shut it down when finished. This image was optimized for size, coming in at less than 6 MB.

⁠Docker Hub

Available on Docker Hub⁠.

⁠Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Tag summary

Content type

Image

Digest

Size

2.4 MB

Last updated

over 10 years ago

docker pull jasperla/docker-letsencrypt-verify