Difference between revisions of "ACME Client"

From Dogtag
Jump to: navigation, search
m (Requesting a Certificate)
m (certbot)
Line 1: Line 1:
 
= certbot =
 
= certbot =
  
== Installation ==
+
See [[certbot]].
 
 
<pre>
 
$ dnf install certbot
 
</pre>
 
 
 
== Requesting a Certificate ==
 
 
 
To request a certificate with http-01 challenge:
 
 
 
<pre>
 
$ certbot certonly --standalone -d example.com -d www.example.com --register-unsafely-without-email
 
</pre>
 
 
 
To request a certificate with dns-01 challenge:
 
 
 
<pre>
 
$ certbot certonly --manual -d example.com -d www.example.com --register-unsafely-without-email --preferred-challenges dns
 
</pre>
 
 
 
To request a multi-domain certificate:
 
 
 
<pre>
 
$ certbot certonly -d example.com -d www.example.com
 
</pre>
 
 
 
To request a certificate from a different server:
 
 
 
<pre>
 
$ certbot certonly -d example.com --server http://localhost:8080/acme/rest/directory
 
</pre>
 
 
 
The results will be stored in:
 
 
 
* certificate: /etc/letsencrypt/live/example.com/fullchain.pem
 
* private key: /etc/letsencrypt/live/example.com/privkey.pem
 
  
 
= acme.sh =
 
= acme.sh =

Revision as of 13:26, 14 May 2019

certbot

See certbot.

acme.sh

Installation

$ git clone https://github.com/Neilpang/acme.sh.git
$ cd acme.sh
$ ./acme.sh --install

Requesting a Certificate

$ acme.sh --issue -d example.com -d www.example.com -w /home/wwwroot/example.com

See Also