Last active
March 21, 2018 15:57
-
-
Save sam0x17/61e095cfc79260d75efec15134c91734 to your computer and use it in GitHub Desktop.
Ubuntu CAC Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get update | |
sudo apt-get install -y libpcsclite1 coolkey pcsc-tools libpcsc-perl libccid pcscd libnss3-tools | |
sudo service pcscd start | |
curl http://militarycac.com/maccerts/AllCerts.zip > ~/DOD_Certs.zip | |
modutil -dbdir sql:/home/`whoami`/.pki/nssdb/ -add "CAC Module" -libfile /usr/lib/pkcs11/libcoolkeypk11.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment