Problem with SSL on Ubuntu 22.04 with OpenLiteSpeed and Node.js

Hi, some SSL created by Let's Encrypt, on my VPS work, but others not, even after many attempts. i would like why, and how to solve it; it's crazy. DNS are set correctly.
Thank you

My domain work is: loranrix.com
My domains not work = echangesprives.fr, sludinājumi.com (sludinājumi.com )
The operating system my web server runs on is (include version): Ubuntu 22.04 with OpenLiteSpeed and Node.js (with Cloudflare. but without, the same problem)
My hosting provider, if applicable, is: Hostinger

Hi @Loran, and welcome to the LE community forum :slight_smile:

Are different IPs expected [and one with IPv6] ?:

Name:    loranrix.com
Address: 195.35.56.221

Name:      echangesprives.fr
Addresses: 2a02:4780:1d:c7f9:171a:d1b1:e5a3:53a6    <<<< BAD IP (Hostinger)
           195.35.56.221

Name:    xn--sludinjumi-zfb.com
Address: 195.35.56.221

Also, different "servers":

curl -Ii http://loranrix.com/
HTTP/1.1 302 Found
date: Fri, 11 Oct 2024 17:14:40 GMT
server: LiteSpeed       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
location: https://loranrix.com/
connection: Keep-Alive
curl -Ii6 http://echangesprives.fr/
HTTP/1.1 301 Moved Permanently
Server: hcdn       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Date: Fri, 11 Oct 2024 17:15:50 GMT
Content-Type: text/html
Content-Length: 795
Connection: keep-alive
location: https://echangesprives.fr/
platform: hostinger
panel: hpanel
content-security-policy: upgrade-insecure-requests
Age: 39
alt-svc: h3=":443"; ma=86400
x-hcdn-request-id: 26d266ba90b0efbc4995531aee6aa7bb-phx-edge4
x-hcdn-cache-status: HIT

curl -Ii4 http://echangesprives.fr/
HTTP/1.1 302 Found
date: Fri, 11 Oct 2024 17:15:55 GMT
server: LiteSpeed       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
location: https://echangesprives.fr/
connection: Keep-Alive
curl -Ii http://xn--sludinjumi-zfb.com/
HTTP/1.1 404 Not Found
date: Fri, 11 Oct 2024 19:53:50 GMT
server: LiteSpeed       <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
connection: Keep-Alive
3 Likes

all these 3 domain names have to point to the same IP, my VPS
how can i solve it so?
and why 1 work but 2 not? they all have the same sets for DNS, Cloudflare, etc... so its not logic that 1 work and 2 others not

Update the DNS zone to show the correct IPv4 address (A record) for all names.
If you are not serving content via IPv6, then remove the IPv6 address (AAAA record).

Then, only one has the correct IPs - the others have at least one incorrect IP.
[One has an incorrect IPv6 address that breaks LE; As LE prefers IPv6 (when available)]

Also, I don't see Cloudflare involved.

3 Likes

and the domain loranrix.com, is witch is working good. the 2 others i get problems

i can share my Cloudflare DNS if can help for solve this problem. but i am not sure it will help, because even before i trtied without Cloudflare, and was the same problem

and "sludinajumi.com" is didferent than "sludinājumi.com"
mine is "sludinājumi.com"

Ok, I'll update my previous post.

2 Likes

You don't have to show that - we can ask the Internet for your DNS information.

Please show:
sudo apachectl -t -D DUMP_VHOSTS

2 Likes

command not found

What shows?:
/usr/local/lsws/conf/httpd_config.conf

[make sure you don't post any private information within that file - like usernames/passwords/keys]

3 Likes

Supplemental, see: Issues updating certbot - #6 by MikeMcQ

Edit:
Also echangesprives.fr has potentially some DNS issues see EDNS Compliance Tester

3 Likes

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