Solved

Question about setting up SSL certificate

Posted on 2012-12-29
1
405 Views
Last Modified: 2012-12-29
I have an ssl certificate for a domain (let's say www.blap.com) and I want to try to set it up on a tomcat instance on an local server for testing purposes. Can I trick tomcat and the browser into accepting the ssl certificate by adding www.blap.com to the hosts file on the local server?
0
Comment
Question by:opike
1 Comment
 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
ID: 38729640
If you have *any* ssl certificate, then tomcat will accept that without any further adjustment - so the server side is fine. Importing the key into the tomcat JKS file (or if you are fronting tomcat via apache, supplying the pem encoded files for apache) is a different question of course, but plenty of web references for that.

To avoid any browser side warnings though, you must have set the IP of the server in your hosts file *on the client* and further, must have accessed the tomcat server via that dns name not via its IP (alternatively, you must arrange for the DNS supplied to the client to give that IP in response to that domain; sometimes easier to do if you control the local environment)
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to count occurrences of each item in an array.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

707 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now