ACME Client

From Dogtag
Revision as of 12:18, 14 May 2019 by Edewata (talk | contribs) (Requesting a Certificate)

Jump to: navigation, search

certbot

Installation

$ dnf install certbot

Requesting a Certificate

To request a certificate with http-01 challenge:

$ certbot certonly --standalone -d example.com -d www.example.com --register-unsafely-without-email

To request a certificate with dns-01 challenge:

$ certbot certonly --manual -d example.com -d www.example.com --register-unsafely-without-email --preferred-challenges dns

To request a multi-domain certificate:

$ certbot certonly -d example.com -d www.example.com

To request a certificate from a different server:

$ certbot certonly -d example.com --server http://localhost:8080/acme/rest/directory

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

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