Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Getting error message after setting up ssl certificate in tomcat

Posted on 2012-12-29
4
Medium Priority
?
976 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

WEBINAR - Latest Cyber Tips for Defense

Join the WatchGuard Threat Research Team on October 26th for an informative webinar featuring expert tips and tricks for defending your organization from today's latest cyber threats. Don't leave yourself vulnerable to attack. Register for the webinar today!

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
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.

610 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