Solved

Getting error message after setting up ssl certificate in tomcat

Posted on 2012-12-29
4
960 Views
Last Modified: 2013-01-05
I'm trying to follow these instructions for installing my www.testpikefin.com SSL certificate into tomcat 6.x on my local server:

http://support.godaddy.com/help/article/5239/generating-a-csr-and-installing-an-ssl-certificate-in-tomcat-4x5x6x 

I've added www.testpikefin.com (the domain in the certificate) to my machine's hosts file. Both the browser and tomcat are running on this same machine.

However I always get the following message in the browser:

SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.

This is what I get in the tomcat access log:
172.16.22.6 - - [29/Dec/2012:16:36:16 -0800] "GET / HTTP/1.1" 200 7446
0
Comment
Question by:opike
  • 3
4 Comments
 
LVL 10

Expert Comment

by:honestman31
ID: 38730122
if the domain www.testpikefin.com    not pointing to the localhost then it will not work with you. ( hosts file will not help in this )

I suggest to you to get a VPS  ( you can get cheap one for testing for around $10 a month ) , install the system and make the domain points to the VPS IP  address once the domain is up and ruining correctly install the SSL cert
0
 

Author Comment

by:opike
ID: 38730126
So if I'm running on a windows 7 box, the computer would have to be a member of the www.testpikefin.com domain?
0
 

Accepted Solution

by:
opike earned 0 total points
ID: 38733246
There was an issue with the jks keystore format. I converted the keystore to pkcs12 and it worked (even with the hosts file configuration).
0
 

Author Closing Comment

by:opike
ID: 38746488
Discovered the solution on my own.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

821 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