logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Mismatched Address Error
Author
bpladna



Joined: 29 Apr 2015
Posts: 8
Location: USA, Winston-Salem

PostPosted: Wed 29 Apr '15 15:01    Post subject: Mismatched Address Error Reply with quote

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

PostPosted: Wed 29 Apr '15 20:34    Post subject: Reply with quote

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

PostPosted: Wed 29 Apr '15 22:03    Post subject: Reply with quote

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

PostPosted: Thu 30 Apr '15 0:03    Post subject: Reply with quote

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

PostPosted: Thu 30 Apr '15 14:26    Post subject: Reply with quote

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

PostPosted: Thu 30 Apr '15 16:30    Post subject: Reply with quote

Also, we are not using a self signed. It's a CA signed certificate and it's trusted in the browser. This is for an internal web server reached via https://<FQDN>. I also forgot to post the links to the conf files.

http://apaste.info/kzp
http://apaste.info/p3p
http://apaste.info/4xD
Back to top
bpladna



Joined: 29 Apr 2015
Posts: 8
Location: USA, Winston-Salem

PostPosted: Mon 04 May '15 13:51    Post subject: Reply with quote

We are still trying to fix this issue.
Back to top
bpladna



Joined: 29 Apr 2015
Posts: 8
Location: USA, Winston-Salem

PostPosted: Tue 05 May '15 16:26    Post subject: Reply with quote

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

PostPosted: Tue 05 May '15 16:55    Post subject: Reply with quote

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

PostPosted: Tue 05 May '15 17:43    Post subject: Reply with quote

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

PostPosted: Wed 06 May '15 20:05    Post subject: Reply with quote

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

PostPosted: Thu 07 May '15 17:57    Post subject: Reply with quote

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


Reply to topic   Topic: Mismatched Address Error View previous topic :: View next topic
Post new topic   Forum Index -> Apache