Author |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Wed 29 Apr '15 15:01 Post subject: Mismatched Address Error |
|
|
I created certificate and it appears to be working but I am always getting a cert error about a mismatched address. I have checked my settings and the certificate and host names match. It doesn't make sense. I have looked online at different forums and support sites but nothing has helped. The only thing I can think to do is to get a new cert. This cert is for an internal site only.
Thank you |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 29 Apr '15 20:34 Post subject: |
|
|
You may have to create another cert. However, where is the error showing, your browser or the error log on the server?
Is this just replacing an expired cert or is this the first? |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Wed 29 Apr '15 22:03 Post subject: |
|
|
The error is only in the browser. There are no errors in any of the logs. This is the first cert. |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 30 Apr '15 0:03 Post subject: |
|
|
I am assuming you are using self-signed certificates which the browser will error with anyway, even when the addresses match. You will have to create an exception for them in the browser so does it really matter if the addresses match or not?
We would probably need some information, your ssl config (posted at http://apaste.info/) and the URL you are trying to use, what you did with your Windows hosts file if anything to hopefully see what the problem might be. |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Thu 30 Apr '15 14:26 Post subject: |
|
|
Unfortunately I cannot give out the IPs or hostnames because I am not allowed but I have uploaded the three configs (httpd.conf, foswiki.conf, and ssl.conf). Our hosts files cannot be changed due to the fact we do not have admin privs on our computers. I can get it changed if need be. |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Mon 04 May '15 13:51 Post subject: |
|
|
We are still trying to fix this issue. |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Tue 05 May '15 16:26 Post subject: |
|
|
It turns out it's what I thought it was the whole time. I had to set the IP to the hostname in my hosts file. Now that works. Now I need to figure out how to configure apache so I can still use the FQDN without having to have that entry in my hosts file. Any thoughts? |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 05 May '15 16:55 Post subject: |
|
|
I'm glad you found that which is why I asked about that file. You can't change anything in Apache, domain names are purely a DNS thing. Using the host file you can fake the DNS. You can do it with a DNS server however, you should probably start by learning what DNS is though. |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Tue 05 May '15 17:43 Post subject: |
|
|
I know how DNS works. I think I worded my response incorrectly. This issue has not shown up in other certificates we have created. That's why I don't understand why this one had an issue. |
|
Back to top |
|
glsmith Moderator

Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 06 May '15 20:05 Post subject: |
|
|
I guess you need to ask the CA that issued the certificate then. |
|
Back to top |
|
bpladna
Joined: 29 Apr 2015 Posts: 8 Location: USA, Winston-Salem
|
Posted: Thu 07 May '15 17:57 Post subject: |
|
|
We figured out the issue. Some applications will ignore the CN if it's not one of the SANs. I created a new request and added the FQDN to the SAN list and now it works. |
|
Back to top |
|