Skip to content

Instantly share code, notes, and snippets.

@jasonwbarnett
Last active December 23, 2015 09:19
Show Gist options
  • Save jasonwbarnett/6613219 to your computer and use it in GitHub Desktop.
Save jasonwbarnett/6613219 to your computer and use it in GitHub Desktop.
#!/bin/bash
CACERTS_KEYSTORE="/usr/java/latest/jre/lib/security/cacerts"
wget http://www.startssl.com/certs/ca.pem
keytool -import -trustcacerts -file ca.pem -alias startssl_ca -keystore ${CACERTS_KEYSTORE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment