# Copy the certificate into the directory Java_homeJreLibSecurity
# Change your directory to Java_homeJreLibSecurity>
# Import the certificate to a trust store.
keytool -import -alias ca -file somecert.cer -keystore cacerts -storepass changeit [Return]
Trust this certificate: [Yes]
changeit is the default truststore password
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…