Skip to content

Instantly share code, notes, and snippets.

@jaonoctus
Created January 3, 2016 22:04
Show Gist options
  • Save jaonoctus/3f85e2e8fd962c16eae0 to your computer and use it in GitHub Desktop.
Save jaonoctus/3f85e2e8fd962c16eae0 to your computer and use it in GitHub Desktop.
Instalando certificados SSL letsencrypt
1.0. ADICIONAR ISSO AO FINAL DO ARQUIVO DE CONFIGURAÇÃO DO APACHE:
Alias /.well-known /home/teste/public_html/.well-known
2.0. TERMINAL
$ cd /home/USER/
$ git clone https://github.com/letsencrypt/letsencrypt; cd ./letsencrypt/
$ ./letsencrypt-auto certonly --email EMAIL --agree-tos --webroot --renew-by-default -w /home/USER/public_html/ -d DOMINIO --authenticator webroot
$ cp -f /etc/letsencrypt/live/DOMINIO/* /home/USER/ssl_certs/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment