Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

add certificate to java truststore

# 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]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #certificate #java #truststore
ADD COMMENT
Topic
Name
4+7 =