File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Issue with a specific CAC card in logging into ProjectForge Webservices
Joined: Aug 09, 2011
Aug 09, 2011 09:59:44
I have a very strange issue with my CAC card. I wrote small Java program to login into ProjectForge.mil webservice
ICollabNetSoap m_sfSoap = (ICollabNetSoap)
sessionId = m_sfSoap.login("", "");
After entering CAC PIN, it is throwing exception saying that "javax.net.ssl.SSLHandshakeException: Received fatal alert: unsupported_certificate"
More specific exception is:
Caused by: java.security.InvalidKeyException: Unsupported key type: SunPKCS11-MyPKCS11 RSA private key, 2048 bits (id 39632224, token object, sensitive, unextractable)
Note: I have asked three of my co-workers to run the same program using their CAC's and seems to be everything works fine. I have already downloaded latest JCE policy .jar files and installed them under ../lib/secuirity
Any input is greatly appreciated,
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Issue with a specific CAC card in logging into ProjectForge Webservices
Writing Data(Address Book) into Phone SIM Card Using J2ME
sig with non exportable private key
for loop logic problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013