This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Java keystorage load problem
Joined: Apr 01, 2014
Apr 01, 2014 05:56:54
I use Eclipse to make ssl socket server-client communication. I am trying to use self signed certificate.
I make keystorage with Eclipse keytool. Than I try to load this key storage:
String ksName = "herong.jks"; KeyStore ks = KeyStore.getInstance("JKS"); ks.load(new FileInputStream(ksName), ksPass);
But I get following message:
herong.jks (No such file or directory)
Name of keysotre is correct. May be I should do something else? now I only create keystore and certificate in key tool.
Joined: Mar 22, 2005
Apr 01, 2014 07:13:04
Try an absolute path instead.
Ping & DNS
- my free Android networking tools app
subject: Java keystorage load problem
Tomcat SSL .Enabling Client authentication with tomcat
How To Get HTTPS?
reading certificate from smart card
CertificateException: No name matching <hostname> found.
Sign a jar with a third party certificate, using keytool and jarsigner
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014