Make Let's Encrypt error details more compact
Error details from "Could not issue/renew Let`s Encrypt certificates" notification are too verbose and excessive. For example:
- 'Lets Encrypt example.com' [days to expire: 19] [-] example.com
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/1654356342.
Details:
Type: urn:ietf:params:acme:error:unauthorized
Status: 403
Detail: Invalid response from http://example.com/.well-known/acme-challenge/5hml56m8-22VgeVZQPRjBUTGP6UFTYXoN7ZiDdQntrI [1.2.3.4]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
the following would be enough:
Detail: Invalid response from http://example.com/.well-known/acme-challenge/5hml56m8-22VgeVZQPRjBUTGP6UFTYXoN7ZiDdQntrI [1.2.3.4]: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
Thank you for your input! We will consider this functionality in upcoming releases if it will be popular.
Everyone, please continue voting for this feature if you consider it important.
—
IG
-
tsmokie commented
Error details from "Could not issue/renew Let`s Encrypt certificates" notification have unnecessary HTML tags. For example:
-------------------------------------
<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"
-----------------------------------------The following would be enough:
404 Not Found