Skip to main content
Question

Deploy internal SSL cert authority via Casper

  • November 5, 2012
  • 4 replies
  • 8 views

Forum|alt.badge.img+3

We are using an Astaro Security Gateway (ASG) firewall at our school. We would like to turn on the "Scan HTTPS (SSL) Traffic" setting. This places our ASG firewall as a man-in-the-middle of all HTTPS traffic. Doing so requires adding the ASG to each device (iOS & OSX) as a trusted certificate authority.

How can we leverage Casper to deploy an internal SSL cert authority to all iOS & OSX devices?

4 replies

Forum|alt.badge.img+24
  • Valued Contributor
  • November 5, 2012

It's a 2 step process:

  1. You have a package that lays down the certificate file somewhere. /Library/Application Support/YourOrganization is a good spot.
  2. A script fires off that actually installs it:
    #!/bin/sh
    security add-trusted-cert -d -k /Library/Keychains/System.keychain /Library/Application Support/YourOrganization/NameOfCertificateFile.pem

Casper: Assisting your Big Brother DPI needs in a friendly and disarming way ;)


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • November 5, 2012

will that script install for multiple browsers?


Forum|alt.badge.img+24
  • Valued Contributor
  • November 5, 2012

That will install it to the OS's keychain. Any browser that uses the system keychain will work fine (Safari, Chrome).

Firefox has its own keystore and it's a PITA to get it in there. Look at CCK Wizard and deploying your own custom Firefox if that's the case.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • November 5, 2012

Big brother thanks you! ;-)