This may not be new news to some people, but it was a really wonderful victory for me this weekend.
I’ve for a long time desired being able to unify communications for both my professional and personal activities to a single platform that I can trust. I use Linux for all of my servers, networking equipment and desktop. My solution was to run a virtual machine of windows and use a usb smart card sled to access my DoD email. Now this likely sounds like a very first world problem, but it really pains me to have to boot up a VM to get to my email, enough so that I actually shirk the responsibility to check my email more than you would expect.
Disappointingly on windows there is a host of issues. The only one I think is worth mentioning here is the continuous ‘timeout’ issue that you have when using OWA via IE. To explain a bit further, whenever you are using OWA via IE you get kicked out of the session after some arbitrarily short amount of time (less than 10 minutes). For an average ‘session’ of email at work for me this may require me to close all instances of IE and re-login somewhere between five and ten times.
Onward: How to use DoD Enterprise Email Outlook Web Access from Linux
Short: You need to use a PKI enabled browser (Firefox) with software to read your CAC (Coolkey) and the key element is to have the proper Certificate Authorities loaded in your browser.
Long:
I’m doing this on Fedora 17, Fedora has pretty up to date packages which will matter for coolkey since the new CAC cards being issued have some incompatibilities with older versions of
coolkey.
1: Install coolkey
sudo yum install coolkey
2: Set firefox to use coolkey as a security device:
1: Preferences Menu
2: Advanced Section
3: Encryption Tab
4: Security Devices Button
5: Load Button
6: Enter CAC Module as the module name, and browse to
/lib/pkcs11/libcoolkeypk11.so or
/lib64/pkcs11/libcoolkeypk11.so
If you reader works at this time you should be able to see your CAC loaded (it will prompt you for your pin when you click load).
3: Find out what CA your CAC certs are issued from:
1: Preferences Menu
2: Advanced Section
3: Encryption Tab
4: View Certificates
5: Double click on each of the certificates (usually 3) and look for the ‘Issued By’ section.
6 :Read the Common Name, should be something like CA-29
4: Load the proper certificate authority from
https://crl.chamb.disa.mil/Instead of steps, just go here and make sure to download the CA and Email CA for whatever issued CA you found in step section three above.
5: Load
https://web.mail.milMake sure, when prompted, that you select the email certificate.
Resources:
http://www.forge.mil/Resources-Firefox.htmlhttps://help.ubuntu.com/community/CommonAccessCard