2016-08-11 18:14:08 -04:00
.. This file contains a series of comments that are used to include sections of this README in other files. Do not modify these comments unless you know what you are doing. tag:intro-begin
2015-06-19 06:06:39 -04:00
2017-04-03 18:35:11 -04:00
Certbot is part of EFF’ s effort to encrypt the entire Internet. Secure communication over the Web relies on HTTPS, which requires the use of a digital certificate that lets browsers verify the identity of web servers (e.g., is that really google.com?). Web servers obtain their certificates from trusted third parties called certificate authorities (CAs). Certbot is an easy-to-use client that fetches a certificate from Let’ s Encrypt—an open certificate authority launched by the EFF, Mozilla, and others—and deploys it to a web server.
2015-08-05 13:47:19 -04:00
2016-07-20 17:59:42 -04:00
Anyone who has gone through the trouble of setting up a secure website knows what a hassle getting and maintaining a certificate is. Certbot and Let’ s Encrypt can automate away the pain and let you turn on and manage HTTPS with simple commands. Using Certbot and Let's Encrypt is free, so there’ s no need to arrange payment.
2015-06-23 18:15:37 -04:00
2017-04-06 07:02:00 -04:00
How you use Certbot depends on the configuration of your web server. The best way to get started is to use our `interactive guide <https://certbot.eff.org> `_ . It generates instructions based on your configuration settings. In most cases, you’ ll need `root or administrator access <https://certbot.eff.org/faq/#does-certbot-require-root-administrator-privileges> `_ to your web server to run Certbot.
2015-06-19 06:06:39 -04:00
2017-04-03 18:42:33 -04:00
If you’ re using a hosted service and don’ t have direct access to your web server, you might not be able to use Certbot. Check with your hosting provider for documentation about uploading certificates or using certificates issued by Let’ s Encrypt.
2015-01-25 15:30:24 -05:00
2016-04-21 18:56:23 -04:00
Certbot is a fully-featured, extensible client for the Let's
2015-12-01 18:19:25 -05:00
Encrypt CA (or any other CA that speaks the `ACME
<https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md> `_
protocol) that can automate the tasks of obtaining certificates and
2016-03-22 15:49:39 -04:00
configuring webservers to use them. This client runs on Unix-based operating
systems.
2015-12-01 18:19:25 -05:00
2017-09-01 10:56:49 -04:00
To see the changes made to Certbot between versions please refer to our
`changelog <https://github.com/certbot/certbot/blob/master/CHANGELOG.md> `_ .
2016-05-02 16:59:42 -04:00
Until May 2016, Certbot was named simply `` letsencrypt `` or `` letsencrypt-auto `` ,
depending on install method. Instructions on the Internet, and some pieces of the
software, may still refer to this older name.
2016-05-04 20:03:52 -04:00
Contributing
------------
If you'd like to contribute to this project please read `Developer Guide
<https://certbot.eff.org/docs/contributing.html> `_.
2016-05-13 15:22:55 -04:00
.. _installation:
2015-12-01 18:16:17 -05:00
Installation
------------
2015-01-25 15:30:24 -05:00
2016-08-18 04:38:47 -04:00
The easiest way to install Certbot is by visiting `certbot.eff.org`_ , where you can
2016-07-28 18:43:57 -04:00
find the correct installation instructions for many web server and OS combinations.
2016-11-01 17:25:26 -04:00
For more information, see `Get Certbot <https://certbot.eff.org/docs/install.html> `_ .
2015-01-25 15:30:24 -05:00
2016-08-18 04:38:47 -04:00
.. _certbot.eff.org: https://certbot.eff.org/
2015-12-01 18:19:25 -05:00
How to run the client
---------------------
2015-01-25 15:30:24 -05:00
2016-04-21 18:56:23 -04:00
In many cases, you can just run `` certbot-auto `` or `` certbot `` , and the
2015-12-01 18:16:17 -05:00
client will guide you through the process of obtaining and installing certs
interactively.
2015-08-05 13:43:48 -04:00
2016-07-28 18:43:57 -04:00
For full command line help, you can type::
./certbot-auto --help all
2015-12-01 20:49:49 -05:00
You can also tell it exactly what you want it to do from the command line.
2016-02-11 18:37:17 -05:00
For instance, if you want to obtain a cert for `` example.com `` ,
`` www.example.com `` , and `` other.example.net `` , using the Apache plugin to both
2015-12-01 20:49:49 -05:00
obtain and install the certs, you could do this::
2015-12-01 18:19:25 -05:00
2016-04-21 18:56:23 -04:00
./certbot-auto --apache -d example.com -d www.example.com -d other.example.net
2015-12-01 18:19:25 -05:00
(The first time you run the command, it will make an account, and ask for an
email and agreement to the Let's Encrypt Subscriber Agreement; you can
automate those with `` --email `` and `` --agree-tos `` )
If you want to use a webserver that doesn't have full plugin support yet, you
2015-12-01 20:49:49 -05:00
can still use "standalone" or "webroot" plugins to obtain a certificate::
2015-12-01 18:19:25 -05:00
2016-04-21 18:56:23 -04:00
./certbot-auto certonly --standalone --email admin@example.com -d example.com -d www.example.com -d other.example.net
2015-12-01 18:19:25 -05:00
Understanding the client in more depth
--------------------------------------
To understand what the client is doing in detail, it's important to
understand the way it uses plugins. Please see the `explanation of
2016-05-04 20:03:52 -04:00
plugins <https://certbot.eff.org/docs/using.html#plugins>`_ in
2015-12-01 18:16:17 -05:00
the User Guide.
2015-01-25 15:30:24 -05:00
2015-12-01 18:19:25 -05:00
Links
=====
2016-08-24 17:32:47 -04:00
.. Do not modify this comment unless you know what you're doing. tag:links-begin
2016-05-04 20:03:52 -04:00
Documentation: https://certbot.eff.org/docs
2015-12-01 18:19:25 -05:00
2016-05-04 13:52:58 -04:00
Software project: https://github.com/certbot/certbot
2015-12-01 18:19:25 -05:00
2016-05-04 20:03:52 -04:00
Notes for developers: https://certbot.eff.org/docs/contributing.html
2015-12-01 18:19:25 -05:00
2016-08-24 17:34:39 -04:00
Main Website: https://certbot.eff.org
Let's Encrypt Website: https://letsencrypt.org
2015-12-01 18:19:25 -05:00
2017-02-16 13:24:48 -05:00
IRC Channel: #letsencrypt on `Freenode`_
2015-12-01 18:19:25 -05:00
Community: https://community.letsencrypt.org
2016-03-12 18:19:12 -05:00
ACME spec: http://ietf-wg-acme.github.io/acme/
ACME working area in github: https://github.com/ietf-wg-acme/acme
2015-12-01 18:16:17 -05:00
|build-status| |coverage| |docs| |container|
2015-01-25 15:30:24 -05:00
2016-08-24 17:34:39 -04:00
.. _Freenode: https://webchat.freenode.net?channels=%23letsencrypt
2015-01-25 15:30:24 -05:00
2016-05-04 13:52:58 -04:00
.. |build-status| image :: https://travis-ci.org/certbot/certbot.svg?branch=master
:target: https://travis-ci.org/certbot/certbot
2015-02-24 10:30:01 -05:00
:alt: Travis CI status
2016-05-04 13:52:58 -04:00
.. |coverage| image :: https://coveralls.io/repos/certbot/certbot/badge.svg?branch=master
:target: https://coveralls.io/r/certbot/certbot
2015-02-24 10:30:01 -05:00
:alt: Coverage status
.. |docs| image :: https://readthedocs.org/projects/letsencrypt/badge/
:target: https://readthedocs.org/projects/letsencrypt/
:alt: Documentation status
2015-02-11 17:44:03 -05:00
2015-06-24 00:53:11 -04:00
.. |container| image :: https://quay.io/repository/letsencrypt/letsencrypt/status
:target: https://quay.io/repository/letsencrypt/letsencrypt
2015-05-29 07:24:11 -04:00
:alt: Docker Repository on Quay.io
2016-08-24 17:32:47 -04:00
.. Do not modify this comment unless you know what you're doing. tag:links-end
2015-12-01 21:39:21 -05:00
System Requirements
===================
2017-03-17 16:17:08 -04:00
See https://certbot.eff.org/docs/install.html#system-requirements.
2015-12-01 21:39:21 -05:00
2016-07-20 17:59:42 -04:00
.. Do not modify this comment unless you know what you're doing. tag:intro-end
.. Do not modify this comment unless you know what you're doing. tag:features-begin
2015-01-25 15:30:24 -05:00
2015-01-26 08:58:24 -05:00
Current Features
2016-07-20 17:59:42 -04:00
=====================
2015-01-25 15:30:24 -05:00
2015-10-14 21:12:38 -04:00
* Supports multiple web servers:
2015-01-25 15:30:24 -05:00
2017-06-09 11:35:04 -04:00
- apache/2.x
- nginx/0.8.48+
2015-12-01 18:16:17 -05:00
- webroot (adds files to webroot directories in order to prove control of
domains and obtain certs)
2016-10-12 20:02:39 -04:00
- standalone (runs its own simple webserver to prove you control a domain)
- other server software via `third party plugins <https://certbot.eff.org/docs/using.html#third-party-plugins> `_
2015-10-14 21:12:38 -04:00
* The private key is generated locally on your system.
2016-05-04 13:52:58 -04:00
* Can talk to the Let's Encrypt CA or optionally to other ACME
2015-10-14 21:12:38 -04:00
compliant services.
* Can get domain-validated (DV) certificates.
* Can revoke certificates.
* Adjustable RSA key bit-length (2048 (default), 4096, ...).
* Can optionally install a http -> https redirect, so your site effectively
2015-05-12 15:05:17 -04:00
runs https only (Apache only)
2015-10-14 21:12:38 -04:00
* Fully automated.
* Configuration changes are logged and can be reverted.
2017-05-08 13:54:19 -04:00
* Supports an interactive text UI, or can be driven entirely from the
2015-12-01 18:19:25 -05:00
command line.
2015-01-25 15:30:24 -05:00
* Free and Open Source Software, made with Python.
2016-07-20 17:59:42 -04:00
.. Do not modify this comment unless you know what you're doing. tag:features-end
2015-01-25 15:30:24 -05:00
2016-07-29 21:56:03 -04:00
For extensive documentation on using and contributing to Certbot, go to https://certbot.eff.org/docs. If you would like to contribute to the project or run the latest code from git, you should read our `developer guide <https://certbot.eff.org/docs/contributing.html> `_ .