This is useful when you need to select which certificate you want to pass as your client identity when using SSL. By default Java passes the first certificate in the store. However, with CAC Cards and the Windows-KEY store the first certificate is often not the certificate you want to use. This agent hooks SSL and presents a Swing Dialog allowing you to pick which certificate you want to use.
-
cac-agent-...jar
is a library that can be used with arbitrary Java applications. -
cac-agent-...-with-dependencies.jar
executable jar that contains both jgit and cac-agent.
Setup cac-agent
Using cac-agent
- Text-Only Mode (instead of a the graphical interface)
- Storing Username/Password (skipping prompt)
- Setting Up PKCS11 CAC Drivers in Ubuntu 16
- Profile Support
- Using cac-agent with Older JGit Releases