Sign inSign up

juansecu/letsencrypt-acme-challenge-server

By juansecu

•Updated over 2 years ago
Archived

Web server for serving necessary files for passing ACME challenge from Lets Encrypt.

Image
Web servers
0

213

juansecu/letsencrypt-acme-challenge-server repository overview

This is a simple server that can be used to serve ACME challenge requests for Let's Encrypt.

⁠Requirements

  • Environment variables:

    • LETSENCRYPT_CHALLENGE - The challenge string that Let's Encrypt will request.

⁠Running

For running the application with Docker, you will need to map port 80 to your host machine.

⁠Docker CLI
  • Windows

    > docker run -dp 80:80 \
        -e LETSENCRYPT_CHALLENGE="<Let's Encrypt challenge string>" \
        --name <container-name> \
        juansecu/letsencrypt-acme-challenge-server:v<version number>
    
  • MacOS/Linux

    $ docker run -dp 80:80 \
        -e LETSENCRYPT_CHALLENGE="<Let's Encrypt challenge string>" \
        --name <container-name> \
        juansecu/letsencrypt-acme-challenge-server:v<version number>
    
⁠Docker Compose

For running the application with Docker Compose, you can use the Docker Compose file⁠ provided in this repository for development and production, but for production, you will also need to remove the build property from the http-server service, change the image property to juansecu/letsencrypt-acme-challenge-server:v<version number>.

You can run the application using the following command:

  • Docker Compose v1
$ docker-compose up -d
  • Docker Compose v2
$ docker compose up -d

Tag summary

Content type

Image

Digest

sha256:f9b28d7a2…

Size

47.1 MB

Last updated

over 2 years ago

docker pull juansecu/letsencrypt-acme-challenge-server