Solved

Reverse proxy and self signed SSL Certificate

Posted on 2012-03-12
7
750 Views
Last Modified: 2012-04-06
I am running an internal web server which has the public DNS https://xyz.com
This is accesible via our reverse proxy server (Apache) http://proxyserver.com

I have the problem when external users go to  https://xyz.com, and try to install the self signed cerificate into the trusted root certificates for Internet explorer they are issued with the certifcate from our reverse proxy http://proxyserver.com

I know this works because on my home pc (outside of work, Vista) I am issued with the certificate from https://xyz.com.  

So here are the steps
User uses IE and enters in https://xyz.com, they get a certifcate error, they then click on view certificates and see that the certifcate is for proxyserver.com ,not xyz.com.
Of course when they try to install the certifcate correctly everytime they go to xyz.com they will get the certificate error.
0
Comment
Question by:IandINSW
  • 4
  • 2
7 Comments
 
LVL 12

Expert Comment

by:Amick
ID: 37712057
0
 
LVL 5

Expert Comment

by:ACECORP
ID: 37712076
I believe that the only way you can fix the issue is to modify your architecture.

I would advise the following...

If a user tries to access http://xyz.com the public address for http://xyz.com must be an IP address associated with the apache instance for xyz.com on your reverse proxy server (you will have a ton of them).

When the external user hits that reverse proxy apache site, your reverse proxy server apache site will then execute a re-write rule to re-write your request to the proper internal server inside your network.

The external user's web browser will never see or know about this re-write rule because they are interacting with http://xyz.com on your reverse proxy server. Not with http://myinternalwebsite.local thats inside your network.

The SSL Certificate for xyz.com must sit on the reverse proxy server's apache site for xyz.com
0
 
LVL 1

Author Comment

by:IandINSW
ID: 37712125
The strange thing is I am issued the right certificate on some computers and not on others!!! :(
On one machine using Windows server 2008 R2 IE 9.0 I get the certificate for xyz.com.
On another machine WIn 7 Ultimate IE9.08 they are getting the proxyserver.com certificate.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 5

Expert Comment

by:ACECORP
ID: 37714840
You may need to trace out the traffic at the packet level using a sniffer to get to the bottom of the situation.
0
 
LVL 1

Author Comment

by:IandINSW
ID: 37718223
Packet sniffer just takes it to another level which will not help me as I can not read or understand the results.  I did find on the IE 9.0 this fixed the problem.  Tools --> Options --> Advanced TAB in the SSL options, I made sure only SSL 3.0 was selected, but on IE 8.0 on the XP machine the problem is still occuring! :(
0
 
LVL 1

Accepted Solution

by:
IandINSW earned 0 total points
ID: 37794199
I found out that on some computers it is an IIE setting for SSL certificates.
Tools --> Internet options --> Advanced TAB, Use SSL3.0 only tick selected and untick Use SSl 2.0. Fixed it on some.
0
 
LVL 1

Author Closing Comment

by:IandINSW
ID: 37815461
I resolved it so only good.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enterprise Password Manager Suites as well as Local Password managers are covered in this article.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question