To install an HTTPS certificate to be used by a Java application, using Java 6 we can use the following procedure:
$JAVA_HOME/bin/keytool -import -trustcacerts -alias [THE CERTIFICATE ALIAS] -file [THE CERTIFICATE FILE] -keystore $JAVA_HOME/lib/security/cacerts
Note: the default password for 'cacerts' is 'changeit'