Last active
November 4, 2018 10:50
-
-
Save Eduard-gan/dc03d8af2e62afb48839964ad1565869 to your computer and use it in GitHub Desktop.
Certbot in docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will temporairly create /var/novk/ssl/.well-known/xxxxxx confirmation file and trigger | |
# external check of it's availiblty and contents from letsencrypt's authority servers. | |
# This directory simply should be served by some http server when container launches | |
# This container isn't designed to be persistent and it will exit and removed once command will finish. | |
# You may simply add it into your crontab | |
docker run -it --rm --name certbot \ | |
-v /var/novk/ssl:/var/novk/ssl \ | |
-v /etc/letsencrypt:/etc/letsencrypt \ | |
certbot/certbot:latest \ | |
certonly --agree-tos --no-eff-email --email [email protected] --webroot -w /var/novk/ssl -d novk.ga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment