A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to make my browser trust my server certificate?
Joined: Dec 05, 2008
Apr 14, 2012 22:39:01
I made my
run on https using
When I open
, it gives me a red colored page warning me, that the server certificate is not trusted by google chrome (that was expected).
Now, I want to make my google chrome trust the server certificate. I generated mkyong.cer file using keytool -export command
and then I tried to import it in client's trust store as follows.
(clientTrustStore.key is the output file, and mkyong.cer is the input file.)
I took reference of
for import command.
C:\>keytool -import -alias mkyong -file mkyong.cer -keystore clientTrustStore.key
Enter keystore password:
Re-enter new password:
Owner: CN=yong mook kim, OU=CDG, O=NSEL, L=NOIDA, ST=UP, C=IN
Issuer: CN=yong mook kim, OU=CDG, O=NSEL, L=NOIDA, ST=UP, C=IN
Serial number: 4f89351e
Valid from: Sat Apr 14 13:58:14 IST 2012 until: Fri Jul 13 13:58:14 IST 2012
Signature algorithm name: SHA1withRSA
Trust this certificate? [no]: yes
Certificate was added to keystore
Even after this, I am still getting that warning when i open
Can someone please explain this behavior, or if I am doing something wrong?
Joined: Oct 14, 2005
Apr 14, 2012 22:58:50
Here's the first link I got when I googled your question:
. It appears to me that the answer given there is "Use Internet Explorer to make it trusted and then Chrome will automatically trust it", but you can read the whole thread which does contain more information than just that.
Joined: Dec 05, 2008
Apr 15, 2012 05:00:36
Thanks Paul for taking out some time and answering.
I have researched on net and studied something about this.
I have created one post from my understanding and observation.
Might help someone
Here you go :
I agree. Here's the link:
subject: How to make my browser trust my server certificate?
Problem in accessing webservice over https with auth cert enabled...Urgent
Import .cer(public key) into .pfx
My problem in Java ,SSL,openssl
unable to find valid certification path to requested target
Tomcat 4.1: JDK 1.4.2 Keystore issue?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014