usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.48k stars 576 forks source link

[BUG] SSL issue on subdomains #1213

Closed master3395 closed 4 months ago

master3395 commented 4 months ago

I just got a problem in 2.3.5, all subdomains get invalid/expired SSL's. I have tried SSLV2, it just said "Already got an SSL"

Example of API that should have had let's encrypt SSL.

https://api.newstargeted.com/roblox/users/v2/user.php?username=Master3395

Current Version:  2.3
Build:  5
Current Commit:  24b10a3440438ac78ffbe68eb50986d96b1600ba
Latest Version:  2.3
Latest Build:  5
Latest Commit:  24b10a3440438ac78ffbe68eb50986d96b1600ba

And i tried SSL, it says issued. image image image

master3395 commented 4 months ago

Had to revert back to 2.3.4, in order to get the Let's encrypt working for my subdomains again.

fm407 commented 4 months ago

i have the same issue, but i reverted to 2.3.4 and i still cant get the cert for my main domain, do you mind sharing your dns settings?

master3395 commented 4 months ago

i have the same issue, but i reverted to 2.3.4 and i still can't get the cert for my main domain, do you mind sharing your dns settings?

I use Cloudflare for my subdomains, it's only a few subdomains I don't use Cloudflare for. And for www.sub.domain.com The subdomains I don't use Cloudflare for should have gotten SSL from Let's Encrypt. But my subdomain https://api.newstargeted.com/roblox/users/v2/user.php?username=Master3395 Does use CloudFlare, so I am not sure if there's an issue with the Cloudflare and SSL setup in 2.3.5 @usmannasir Because this subdomain uses CloudFlare. image

usmannasir commented 4 months ago

I am checking.

usmannasir commented 4 months ago

I have found the issue, I am correcting and pushing after some more testing.

usmannasir commented 4 months ago

Fixed and pushed.