
- #WHERE CAN I BUY CAC CARD READER HOW TO#
- #WHERE CAN I BUY CAC CARD READER DRIVERS#
- #WHERE CAN I BUY CAC CARD READER UPDATE#
- #WHERE CAN I BUY CAC CARD READER SOFTWARE#
#WHERE CAN I BUY CAC CARD READER SOFTWARE#
It’s the actual software that allows your computer to communicate with the little computer chip embedded within the CAC itself. What is ActivClient?ĪctivClient is one of the most important pieces of the being able to use your CAC at home puzzle. So let’s discuss what ActivClient is and where to obtain the proper version for your CAC.
#WHERE CAN I BUY CAC CARD READER DRIVERS#
You’re going to need a couple extra things to get started such as Drivers and ActivClient.Īnd while you may be familiar with what drivers are, ActivClient may be relatively new to you. (i + " IssuerDN: " + cchain.getIssuerDN()) Īt this point you have a keystore that you can use to create the ssl socket to talk to the https web server.When it comes to using any CAC reader from home, it isn’t just plug and play. (i + " SubjectDN: " + cchain.getSubjectDN()) X509Certificate cchain = (X509Certificate) ks.getCertificateChain(alias) Public static void showInfoAboutCAC(KeyStore ks) throws KeyStoreException, CertificateException Provider p = new 11(configName) Ĭhar pin = c.readPassword("Enter your PIN: ") Create our certificates from our CAC Card Public static void main(String arg) throws Exception

Library = /path/to/library/that/implements/cac/card/reader You need to create a file called nfig and include the following lines in it: name = m圜onfig

We also found that Firefox does not send the entire certificate chain unless users import the intermediate certificates into their browser manually. You will also need to make sure that you have the right root CA certificates in Tomcat's "trust" key store (the government root CA certs are little harder to find because they want to make sure users are verifying them properly). However, some of these CRLs are enormous-we had over 100 Mb worth of CRL files, and the built-in Sun revocation checker does not scale well to this size. On the server, you should check that the certificate is not revoked. I've experimented with this provider, and you can read more about it in another answer. If you are writing a client, and need to access the physical reader, you may be able to use the Sun PKCS #11 provider, since Java 1.5.
#WHERE CAN I BUY CAC CARD READER UPDATE#
If this is your scenario, let me know and I'll update my answer with some of the issues that we encountered. (Policy validation is a standard part of PKIX validation.) If this application is for a government customer, you'll need to work closely with their security team to ensure that your solution meets their requirements, which can be stringent. The fact that the certificate came from a hardware token doesn't change much for the server if you want to accept only CAC certificates, you can specify set of acceptable certificate policies when the server validates the client certificate. If you are creating a web application, it's pretty much just standard client certification authentication.
#WHERE CAN I BUY CAC CARD READER HOW TO#
But I can't seem to find sample code of how to use it to connect to a card, read from a card, etc.ĭoes anyone know where I can find some sample code so that I can start learning how to interact with a CAC card using java?Īfter researching more, I was thinking, would I be able to just set clientAuth="true" in the connector element in the server.xml file?ĬlientAuth: Set this value to true if you want Tomcat to require all SSL clients to present a client Certificate in order to use this socket.Īre you creating the web application, or trying to write software that runs at the client (sort of like your own web browser)?

So I figure I'd start by writing a small java program to simply read the CAC card information from the CAC card which is inserted into a card reader on my keyboard (DELL keyboard with CAC reader above the numeric keypad).īy searching google, I found the cacard java project ( ) which was replaced by the OpenSSO project. Ultimately, my goal is to find out how to use CAC card authentication (by PIN number) to authorize access to a website hosted using a Tomcat/J2EE server.īut I'll need somewhere to start.

I'm bascially looking for someplace to start learning how to interface with a government CAC card using java.
