Stars: 293
Forks: 17
Pull Requests: 0
Issues: 1
Watchers: 10
Last Updated: 2020-02-07 13:02:48
get let's encrypt cert in five minutes
License:
Languages: PHP, Shell
Get Let's Encrypt Cert In Five Minutes (Deprecated)
# Ubuntu
sudo apt-get install php-cli php-curl nginx
# CentOS
yum install php-cli php-curl nginx
cd acme-client-quick
echo "example.com" >> domain.txt
echo "www.example.com" >> domain.txt
# need root because http-01 challenge need listen 80 port
# make sure your system 80 port is free
# maybe you need run
# sudo service nginx stop first
sudo ./quick-start.sh
cd cert
# ssl.key -- your domain private key
# ssl.crt -- your domain cert
# nginx config
# ...
# ssl_certificate /path/to/ssl.crt;
# ssl_certificate_key /path/to/ssl.key;
# ...