2020-10-16

Java Keystore - keytool commands

 1.  List Trusted cacerts

    keytool -list -v -keystore $JAVA_HOME/jre/lib/security/cacerts


2. Import New cert into keystore (e.g. Amazon)

keytool -import -trustcacerts -file [filename] -alias [alias] -keystore $JAVA_HOME/jre/lib/security/cacerts 

->

keytool -import -trustcacerts -file AmazonRootCA1.cer -alias AmazonRootCA1 -keystore $JAVA_HOME/jre/lib/security/cacerts

3. Delete cert from keystore

keytool -delete -alias [alias] -keystore $JAVA_HOME/jre/lib/security/cacerts 

Ref: https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html

2020-10-15

Execute from symbolic link

Method One: link in /sbin
sudo ln -s /[directory]/[script].[extension] /sbin/[alias]

Review Who is Connected to Windows Shared Folder

  1. Open Computer Management Console     Windows Key + R -> compmgmt.msc      2. Expand System Tools -> Shared Folder -> Sessions ...