• Stars
    star
    293
  • Rank 141,278 (Top 3 %)
  • Language
    PHP
  • Created almost 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

get let's encrypt cert in five minutes

acme-client-quick (Deprecated)

Get Let's Encrypt Cert In Five Minutes (Deprecated)

Steps

get dependency

# Ubuntu
sudo apt-get install php-cli php-curl nginx

# CentOS
yum install php-cli php-curl nginx

put your domain name in domain.txt

cd acme-client-quick
echo "example.com" >> domain.txt
echo "www.example.com" >> domain.txt

get cert

# 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

result file

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;
# ...