Sign inSign up

aquaron/certbot

By aquaron

•Updated almost 6 years ago

Get Let's Encrypt wildcard certificates using Certbot

Image
0

1.1K

aquaron/certbot repository overview

⁠certbot

Docker

Get and renew Let's Encrypt Wildcard Certificates using Certbot.

⁠runme.sh

CommandDescription
-getget LE's wildcard certficicates for --host
-singleget a single --host certificate
-renewrenew all existing expiring certificates
-revokerevoke --host certificate
-deletedelete a certificate
-cleanremove all certificates
-testuse staging test server instead of production
-forceforce get/renew even when cert not expired
-verbosetalkative mode
OptionDescription
--hostFQN of the host to get the wildcard certificate
--emailemail for updates and expiry
--dnsdns-01 validation service
⁠-get

Get new wildcard certificates including root.

Example:

runme.sh -get --host example.com --email [email protected] --dns google

example.com is the target to get Let's Encrypt certificate for. Both *.example.com and example.com certificates are ordered. [email protected] is your email address required by LE.

⁠-renew

Renews all certificates that are expiring.

⁠-test

Optional flag for getting certificates from staging server instead of production.

⁠-revoke

Revoke a certificate.

⁠-clean

Removes the letsencrypt directory. Use it with caution after test runs only.

⁠-force

Forces renewal or getting the certificate even when it is not expired.

⁠-verbose

Turn on more info output of the progress. Use this for debugging.

⁠--dns

Domain validation services. Currently supporting ony google and digitalocean.

⁠--host

Full qualify domain name of the host you want to get certificate for. No need to specify the *.

⁠--email

Email is required for expiration notifications.


⁠Usage Instruction

⁠Get Let's Encrypt Wildcard Certificate

docker run --rm -t -v <local-dir>:/data aquaron/certbot \
    --email <email> --host <fqn> --dns <dns-01> -[get|revoke|renew] [-test]

Tag summary

Content type

Image

Digest

Size

77.8 MB

Last updated

almost 6 years ago

docker pull aquaron/certbot