SSL issued but not work yet on domain through CERTBOT

So

I issued an SSL (and as it seems lets encrypt did issued it) to my domain, yet still not working.
Used certbot, when I run on my Windows server certbox certificates it show as valid.
Could someone help?

https://login.magicom.app:3000
That is the domain, Chrome says it is SSL ERR still.
Attached is the output of certbot on my server

image

Thank you

Here is a list of certificates issued crt.sh | magicom.app, the latest being 2022-11-17.
The one for login.magicom.app is crt.sh | 7998686044, is the one certificate being used?

I also get this when I use Windows 10 Firefox 107.0 (64-bit), is that expected?
As I do not know what I should expect on port 3000 with HTTPS protocol.

1 Like

Yes. It is the one that is used.

It is supposed to get to a login page.

1 Like

The RECORD_TOO_LONG error indicates that your server is speaking HTTP while the client is (trying to) speak HTTPS. A connection to http://login.magicom.app:3000 succeeds, and redirects to https://login.magicom.app:3000. The latter fails, likely because you can't really do both HTTP and HTTPS on the same port.

5 Likes

I don't see any redirect for http://login.magicom.app:3000/
using https://www.redirect-checker.org/

1 Like

It makes no sense.
I get no where on HTTP and HTTPS.

Tried HTTP as well, not accessing it.
What option do I have here?

I understand I cannot access the app on the port without SSL as well.

It is an A record- point to a server
The same record, with other domain that is not enabled HSTS- no SSL that domain, works.

http://login.magiclane.biz:3000
Point to the same place.

What are you server and app, what is their task/job/service/function ?

I feel like I am missing something in trying to figure out the picture.

2 Likes

Yeah as @Bruce5051 suggests it would help if you can step back a bit and explain what type of service this is? e.g. Apache httpd, Apache Tomcat, nginx, caddy or a custom server type. How you configure SSL varies depending on which software product you are trying to configure.

Currently you may well have a valid certificate file, but your software isn't configured to use https (yet).

2 Likes

Those are being handled by different server blocks.
Please show all server blocks that cover those two names and port 3000.

3 Likes

Quick question: after you've issued the cert with Certbot, what steps did you take to actually install the certificate into whatever unmentioned app you've got running?

4 Likes

Based on login.magiclane.biz you appear to be running an Express server in NodeJS. How to Create an HTTPS NodeJS Web Sevice with Express

You need to tell your app to load the certificate within the call to createServer then express will switch over to using TLS (e.g. https).

4 Likes

Dumb question from my side
I am no programmer

Using this tutorial, will I lose current NodeJS server?
How do I run it in case I run this existing NODEJS and not to ruin anything

Did actually nothing.

Well, I read this twice and still not clear how do I apply it on my server.
My programmer for the project quit so, cannot ask him. what should I do in my server so it would work?

I understand that I miss something, which you say is to let the app to use SSL.
How do I do it?

As your server is an Express app running in NodeJS then without a programmer you will be unable to proceed. You'll either need to learn programming enough to work on the app yourself or get another programmer.

5 Likes

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