Certificats Let's Encrypt
Find a file
James Kasten 41093304ae Merge pull request #12 from alex/flake8-w
Replaced tabs with spaces and removed usage of several deprecated features:
2014-11-18 17:12:46 -08:00
attic moved old protocol directory to attic to avoid confusion 2014-11-18 12:33:48 -08:00
letsencrypt Replaced tabs with spaces and removed usage of several deprecated features: 2014-11-18 17:01:31 -08:00
.gitignore Move protocol and client into Python modules 2012-08-12 07:49:45 +03:00
.gitmodules Move files that are specific to the trustify protocol into the attic 2014-11-14 18:16:40 -08:00
EULA Formatting changes before demo 2014-11-13 01:49:32 -08:00
letsencrypt.py Removed trailing whitespace as well as unused imports 2014-11-18 16:41:13 -08:00
LICENSE.txt Remove Unneccesary How To 2014-11-18 13:08:09 -08:00
MANIFEST.in More documentation 2014-11-18 02:42:56 -08:00
README.md README formatting 2014-11-18 03:14:49 -08:00
setup.py Use the older requests API 2014-11-18 09:09:56 -08:00

This is the Let's Encrypt Agent DEVELOPER PREVIEW repository.

DO NOT RUN THIS CODE ON A PRODUCTION WEBSERVER. IT WILL INSTALL CERTIFICATES SIGNED BY A TEST CA, AND WILL CAUSE CERT WARNINGS FOR USERS.

This code intended for testing, demonstration, and integration engineering with OSes and hosting platforms. Currently the code works with Linux and Apache, though we will be expanding it to other platforms.

Running the demo code on Ubuntu

sudo apt-get install python-pip python-crypto python-dev python-jsonschema python-augeas gcc python-m2crypto python-dialog

sudo pip install jose

sudo ./letsencrypt.py

Hint: on Debian testing/unstable, python-dialog is unavailable and you may need to do sudo pip install pythondialog=2.7 (lets-encrypt does not yet handle debian unstable's Apache2 conf layout, either...)

Command line usage

sudo ./letsencrypt.py (default authentication mode using pythondialog)

options --text (text mode)
--privkey= (specify privatekey file to use to generate the certificate)
--csr= (Use a specific CSR. If this is specified, privkey must also be
specified with the correct private key for the CSR)
--server (list the ACME CA server address)
--revoke (revoke a certificate)
--view-checkpoints (Used to view available checkpoints and see what
configuration changes have been made)
--rollback=X (Revert the configuration X number of checkpoints)
--redirect (Automatically redirect all HTTP traffic to HTTPS for the newly
authenticated vhost)
--no-redirect (Skip the HTTPS redirect question, allowing both HTTP and
HTTPS)
--agree-eula (Skip the end user agreement screen)