Solved

Getting error message after setting up ssl certificate in tomcat

Posted on 2012-12-29
4
947 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Discovered the solution on my own.
0

Featured Post

NetScaler Deployment Guides and Resources

Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

Join & Write a Comment

Suggested Solutions

Imagine a situation that you have installed SSL (http://en.wikipedia.org/wiki/Secure_Sockets_Layer) Certificate on your Cisco ASA (Cisco Adaptive Security Appliance) firewall. Installation of SSL certificate on ASA is an another topic for which you …
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.

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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now