Letsencrypt beta

From Wiki
Jump to: navigation, search

Create new cert:

./letsencrypt-auto --debug -a standalone -d www.example.com certonly

To manually verify a cert you can use the following command.

cd /opt/letsencrypt
./letsencrypt-auto --agree-dev-preview --server https://acme-v01.api.letsencrypt.org/directory -a manual -d <domain> certonly

This will prompt you to create a text file on the server to be verified.

cd /var/www
printf "%s" <string> > <file>

Renewing a cert simply requires you to run the client again.

/opt/letsencrypt/letsencrypt-auto renew
cd /opt/letsencrypt
set domain='example.com'
screen ./letsencrypt-auto -a manual -d ${domain} -d www.${domain} certonly --debug