Skip to main content

A stripped down Let's Encrypt (ACME) client

Project description

# Overview

Wile is a simple [Let’s Encrypt](https://letsencrypt.org) (ACME) client that only supports the “webroot” method of validation. It only needs access to the root folder serving the domanis in question. Specifically, it only needs access to the “.well-known” sub-folder and therefore doesn’t need root permissions.

The “.well-known” folder must also be accessible from external sources. I.e.: if you run a reverse proxy for some backend application, it should include an exception for this folder.

Per default, no new request will be made if wile detects an existing certificate for the same requested domains with a validity of more than 1 day. This can be changed with the –min-valid-time and –force options.

# Usage

Simple anonymous certificate request: ` $ wile cert request example.com:/var/www/example.com/ `

Registration with contact information, and saving certs to some other location (default saves to current folder): ` $ wile register -e name@example.com $ wile cert request --output-dir /etc/ssl/private/ example.com:/var/www/example.com/ `

Revoking a certificate: ` $ wile cert revoke /etc/ssl/private/example.com.crt `

Note that you can also pass multiple domains with a single document root, which creates a certificate with [Subject Alternative Names](https://en.wikipedia.org/wiki/Subject_Alternative_Name). ` $ wile cert request example.com:/var/www/example.com/ www.example.com `

You can also increase the default minimal validity time to one week, if you intend on running wile via a weekly cronjob: ` $ wile cert request --min-valid-time 1w example.com:/var/www/example.com/ `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wile-0.3.1.tar.gz (20.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page