So I’m new to cyberpanel (I’m migrating from cPanel), but I’ve been searching around on how the SSL generation is supposed to work. I used the cPanel backup/restore and it also created the sub-domains for me. However, the SSL certs aren’t getting generated. I went through all of the troubleshooting steps (from the How to fix SSL issues in CyberPanel] thread), like checking DNS, file permissions, etc. When I run the command line to generate the SSL with debug I see something like this:
Invalid response from http://mail.mydomain/.well-known/acme-challenge/KCLIDtEIGZhrT-N8u234sdfsdfsdf: 404
I do see the file in there, but when I try to access the site I notice it is trying to redirect me to HTTPS. And it’s saying that this site is using HTTP Strict Transport Security (HSTS). So you can’t access that file.
So basically I think I can’t issue a cert because it doesn’t have a valid cert.
I then searched around everywhere I could to see if I could turn off HSTS for HTTP requests, but I don’t see it anywhere. I checked in the vHosts in cyberpanel, and in Litespeed Webadmin panel, no luck.
I tried to delete the sub domain and re-create it, but still the same issue. Does anyone have any guidance on this?