This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with a specific CAC card in logging into ProjectForge Webservices

Somasekhara Yarrapureddy
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a very strange issue with my CAC card. I wrote small Java program to login into webservice

ICollabNetSoap m_sfSoap = (ICollabNetSoap)
ClientSoapStubFactor​y.getSoapStub(IColla​bNetSoap.class, "");
String sessionId = m_sfSoap.login("", "");

After entering CAC PIN, it is throwing exception saying that "​ndshakeException: Received fatal alert: unsupported_certificate"

More specific exception is:

Caused by:​dKeyException: 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,
Soma Reddy

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic