Sign inSign up

dockette/letsencrypt

Sponsored OSS

By dockette

•Updated about 6 years ago

🐳 Let's Encrypt automatic certificate robot

Image
4

10K+

dockette/letsencrypt repository overview

⁠Dockette / LetsEncrypt

Docker Hub pulls GitHub Sponsors Support/Discussions

🎁 Let's Encrypt certificates via a temporary Nginx in Docker


Warning

**Deprecated.** This image is no longer maintained or rebuilt, and the repository is archived. The last image on Docker Hub was built in 2020 on Debian `jessie`, which is end-of-life. Use [`certbot/certbot`](https://hub.docker.com/r/certbot/certbot) instead.

Issues 90-day SSL certificates for the given domains, on Debian jessie.

⁠How it works

The container starts a simple Nginx server on port 80 and waits for Let's Encrypt validation. It serves only requests to mydomain.com/.well-known, all other requests are forbidden.

server {
    listen 80;
    server_name $DOMAINS;

    location ^~ /.well-known/ {
        root /var/www/acme-certs;
    }

    location / {
        return 403;
    }
}

⁠Usage

docker run \
    -p 80:80 \
    -v /srv/certs/mydomain.com:/var/www/certs \
    --name le \
    -e DOMAINS='mydomain.com www.mydomain.com' \
    -e EMAIL='[email protected]' \
    dockette/letsencrypt:latest

Add -it for an interactive shell. Copies of the certificates end up in /srv/certs/mydomain.com/.

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

Size

244.4 MB

Last updated

about 6 years ago

docker pull dockette/letsencrypt

This week's pulls

Pulls:

9

Last week