Certificate error when accessing a different port

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: nutch.io

I ran this command:

I have successfully installed a lets encrypt certificate on my server. I can access the website through https://nutch.io. However, I am trying to run several streamlit apps on different ports (e.g. 7860). When I go to https://nutch.io:7860, I see the following error in my browser:

Firefox detected a potential security threat and did not continue to nutch.io. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.

Web sites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for nutch.io:7860. The certificate is only valid for ns5028403.ip-15-235-67.net.

My web server is (include version):

Server version: Apache/2.4.58 (Ubuntu)
Server built: 2024-07-17T18:55:23

The operating system my web server runs on is (include version):

Linux ns5028403 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

My hosting provider, if applicable, is:

OVH dedicated server

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no, command line

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 2.11.0

1 Like

You can use a Let's Encrypt cert on any application you want, listening on any port(s) you want, but you must configure that application to use that cert. Right now, whatever software is listening on port 7860 is instead serving a cert for ns5028403.ip-15-235-67.net. You'll need to reconfigure that software appropriately.

7 Likes

Thanks. I got it to work with a reverse proxy.

4 Likes