Solved

Getting error message after setting up ssl certificate in tomcat

Posted on 2012-12-29
4
957 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ebay api to see some data about my customers 2 29
Button to go back 3 25
How to create a textarea which saves text in HTML 8 37
Review of OCA certificate policy 1 16
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This video teaches users how to migrate an existing Wordpress website to a new domain.
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.

770 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