Keytool: Difference between revisions

From wiki
Jump to navigation Jump to search
Created page with "Manage the storage of certificates ;keytool -import -v -noprompt -trustcacerts -file <path_to_CA_certificate> -alias <certificateAlias> -keystore <path where the keystore is/..."
 
mNo edit summary
Line 5: Line 5:


;keytool -list -keystore <path where the keystore is>
;keytool -list -keystore <path where the keystore is>
:Delete a certificate from the keystore
:List certificates in the keystore


;keytool -delete -alias huawei_corba_ca -keystore <path where the keystore is>  
;keytool -delete -alias huawei_corba_ca -keystore <path where the keystore is>  
:Delete a certificate from the keystore
:Delete a certificate from the keystore

Revision as of 10:56, 12 August 2019

Manage the storage of certificates

keytool -import -v -noprompt -trustcacerts -file <path_to_CA_certificate> -alias <certificateAlias> -keystore <path where the keystore is/will be> -storepass <password for keystore>
Import a certificate into the keystore, create the keystore if it does not exist yet.
keytool -list -keystore <path where the keystore is>
List certificates in the keystore
keytool -delete -alias huawei_corba_ca -keystore <path where the keystore is>
Delete a certificate from the keystore