Skip to content

Commit

Permalink
Update Java.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Nov 22, 2024
1 parent dc1ae46 commit b0ecf53
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Cheat Sheets/DevOps Services/Java.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ When using Oracle Java

## keytool Usage

Note `changeme` is the default password of unprotected/fresh Java keystores. Set a new password with `-storepassword`
Note `changeit` is the default password of unprotected OS keystores. Set a new password with `-storepassword`

# Find OS Default Keystore Location
readlink -e $(dirname $(readlink -e $(which keytool)))/../lib/security/cacerts

keytool -list # Show content of default keystore
keytool -list -keystore <file> # Show content of file
Expand Down Expand Up @@ -77,10 +80,6 @@ urandom as RNG by adding the following JVM option

pgrep -fl java | grep -q "+UnlockCommercialFeatures"

## Default Keystore Location

readlink -e $(dirname $(readlink -e $(which keytool)))/../lib/security/cacerts

## JMX Remote JConsole via SSH tunnel

Enable JMX and JConsole:
Expand Down

0 comments on commit b0ecf53

Please sign in to comment.