Hello there!
My setup is running the latest version of CyberPanel in CentOS 7:
# From /base/versionManagment
Current Version: 2.3
Build: 3
Current Commit: 71d9109e5912efca917bc574e2207cb5b051b3d7
$ cat /etc/*release
CentOS Linux release 7.9.2009 (Core)
When trying to generate SSL Certificates for mathielo.com
via Let’s Encrypt it always ends up with a self-signed certificate as the generation fails at some point apparently in the Python script:
[03.02.2023_10-39-25] Status Code: 200 for: http://www.mathielo.com/.well-known/acme-challenge/mathielo.com
[03.02.2023_10-39-25] Status Code: 200 for: http://mathielo.com/.well-known/acme-challenge/mathielo.com
[03.02.2023_10-39-27] 'ascii' codec can't decode byte 0xc3 in position 18796: ordinal not in range(128) [Failed to obtain SSL. [obtainSSLForADomain]]
[03.02.2023_10-39-27] Self signed SSL issued for mathielo.com.
I tried all suggestions from 1 to 4 in How to fix SSL issues in CyberPanel, but still the issue persists.
Then I tried the suggestion in the “Debugging from command line” section, and it worked! The cert was successfully generated, but not automatically applied to the website. However I still want to understand what’s causing the decoding error and fix it, since it is way more convenient being able to manage certs via the web interface - and also having the automated certificate regeneration.
When researching I found lots of possible issues and their solutions (such as the ones in the article above), but none regarding this specific error. Any clues as to what could be causing it?