Skip to content

Instantly share code, notes, and snippets.

@ssbarnea
ssbarnea / keytool-trust
Created October 4, 2012 13:14
Bash script that installs SSL certificates from different services to JVMs.
#!/bin/bash
REMHOST=$1
REMPORT=${2:-443}
CACERTS=$3
KEYSTORE_PASS=changeit
KEYTOOL=keytool
# /etc/java-6-sun/security/cacerts