Skip to content

A tiny script to issue and renew TLS certs from Let's Encrypt

License

Notifications You must be signed in to change notification settings

shell909090/acme-tiny

 
 

Repository files navigation

acme

Basically based on https://github.com/diafygi/acme-tiny, but re-wrote.

how to use

  1. Create account key.
openssl genrsa 4096 > account.key
  1. Create domain key.
openssl genrsa 4096 > domain.key
  1. Put them into a config file. You can find an example in config.json.

  2. Run python acme.py -c config.json.

validators

file

Based on http-01, have two parameters:

  • path: the well-known path.
  • nocheck: don't check if the response file has been put into the right place.

Mapping example for nginx:

server {
    listen 80;
    server_name yoursite.com www.yoursite.com;

    location /.well-known/acme-challenge/ {
        alias /var/www/challenges/;
        try_files $uri =404;
    }

    ...the rest of your config
}

About

A tiny script to issue and renew TLS certs from Let's Encrypt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%