The security certificate presented by this website was issued for a different website's address


#1

Hi,

This happens for the sub domain which uses the same certificate of main domain.
Can you please help on priority?


#2

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. https://crt.sh/?q=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:

I ran this command:

It produced this output:

My web server is (include version):

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

My hosting provider, if applicable, is:

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

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


#3

My domain is stomper.app which is working fine.
The same certificate i’m using for sub-domain api.stomper.app and when i run in the browser, it gives me below error:
The security certificate presented by this website was issued for a different website’s address


#4

https://api.stomper.app/ is configured to use an expired, self-signed certificate for dedm-51.e2enetworks.net.in.

It might be from Apache’s default HTTPS virtual host.

Look at the Apache configuration. Is there an api.stomper.app HTTPS virtual host? What SSLCertificate* settings does it have?


#5

Checked virtual host, there is no entry for HTTPS (443) , but can see entry for HTTP (80).


#6

Hi,
Are you still into this?


#7

You need to add an HTTPS virtual host for api.stomper.app.

It should probably be similar to a combination of the api.stomper.app HTTP virtual host and the stomper.app or www.stomper.app HTTPS virtual host(s).


#8

ok, will try that.
thank you