Search
 
SCRIPT & CODE EXAMPLE
 

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]
Comment

java self signed certificate truststore

<JAVA_HOME>inkeytool -import -v -trustcacerts
-alias server-alias -file server.cer
-keystore cacerts.jks -keypass changeit
-storepass changeit 
Comment

PREVIOUS NEXT
Code Example
Java :: how to add to a date in android 
Java :: android studio webview mailto 
Java :: kotlin textview center text 
Java :: fibunacci java 
Java :: retrofit dependency in android studio 
Java :: selet all elemnts 
Java :: How to convert timestamp to time in java 
Java :: testException = com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field 
Java :: how to not open key board on start 
Java :: getsupportactionbar activity 
Java :: hibernate select count 
Java :: How to determine if a given binary tree is a binary search tree, in Java? 
Java :: sprint jpa properties for application.yml 
Java :: javafx object rectangle 
Java :: min of an array java 
Java :: java get random char from alphabet 
Java :: offsetdatetime to date 
Java :: print two dimensional array java 
Java :: specify decimal places java 
Java :: get hashmap into array 
Java :: convert int to hex java 
Java :: java create image 
Java :: print star pattern in java 
Java :: java leap year expression 
Java :: indexoutofboundsexception java 
Java :: java filenotfoundexception 
Java :: bigdecimal to string 
Java :: h2 database spring boot 
Java :: string remove last character 
Java :: android how to get current activity 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =