All SSL cert not work

My webserver hosting 5 website. All can’t renew SSL cert and showing belows error message. Any one know how to fix it? Thanks

[08.18.2022_08-00-38] Status Code: Unkown for: http://www.lighthour.com.tw/.well-known/acme-challenge/lighthour.com.tw. Error: Exceeded 30 redirects.
[08.18.2022_08-00-38] Status Code: Unkown for: http://lighthour.com.tw/.well-known/acme-challenge/lighthour.com.tw. Error: Exceeded 30 redirects.
[08.18.2022_08-00-41] /root/.acme.sh/acme.sh --issue -d lighthour.com.tw -d www.lighthour.com.tw --cert-file /etc/letsencrypt/live/lighthour.com.tw/cert.pem --key-file /etc/letsencrypt/live/lighthour.com.tw/privkey.pem --fullchain-file /etc/letsencrypt/live/lighthour.com.tw/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[08.18.2022_08-00-41] Failed to obtain SSL for: lighthour.com.tw and: www.lighthour.com.tw
[08.18.2022_08-00-41] /root/.acme.sh/acme.sh --issue -d lighthour.com.tw --cert-file /etc/letsencrypt/live/lighthour.com.tw/cert.pem --key-file /etc/letsencrypt/live/lighthour.com.tw/privkey.pem --fullchain-file /etc/letsencrypt/live/lighthour.com.tw/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[08.18.2022_08-00-41] Failed to obtain SSL, issuing self-signed SSL for: lighthour.com.tw
[08.18.2022_08-00-41] {‘XX@XXXXX.com.hk’: (554, b’5.7.1 XX@XXXXX.com.hk: Relay access denied’)}
[08.18.2022_08-00-41] Self signed SSL issued for lighthour.com.tw.

Try: Go to vhost and paste below code at bottom then reissue ssl:

context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowBrowse 1

rewrite {

}
addDefaultCharset off

phpIniOverride {

}
}

2 Likes

Thanks for you help.

Why I got this problem?

Status Code: Unkown for: http://lighthour.com.tw/.well-known/acme-challenge/lighthour.com.tw. Error: Exceeded 30 redirects.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.