LNMP SSL Verify error: invalid response

Lnmp SSL Let’s Encrypt SSL

# LNMP Generate
lnmp ssl add
# manually issue a certificate
acme.sh --issue -d <domain> -w <path>

Error Content

www.utcupids.com:Verify error:Invalid response from http://www.utcupids.com/.well-known/acme-challenge/gApD6ry7JGg7h9C6blnM-BlC7iktGSRK7DSJncWWNpQ [207.148.29.164]: 
[Sun Sep  6 18:18:30 CST 2020] Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Let's Encrypt SSL Certificate create failed!

Attempting Methods

Enable Firewall for 80 port

Nginx conf allow .well-know

# /usr/local/nginx/conf/vhost
location ~ /.well-known {
    allow all;
}

Delete previous SSL and corresponsing vhost

chattr -i /home/wwwroot/<vhost>/.user.ini
rm -rf /home/wwwroot/<vhost>/
jimschenchen

jimschenchen

Share

Leave a Reply