Solved

Question about setting up SSL certificate

Posted on 2012-12-29
1
413 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
How do we balance the user experience (UX) with reasonable security measures? It can be done, if you keep these fundamentals in mind.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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…

832 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