Java: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 17: | Line 17: | ||
=connect via jmx== | =connect via jmx== | ||
jcontrol | jcontrol | ||
=java options= | |||
Sets the initial memory size | |||
-Xms256m / -ms256m | |||
Specifies the maximum memory size | |||
-Xmx2048m / -mx20148m |
Revision as of 13:40, 25 January 2016
Java information
To list keys in java keystore.
/usr/java/jre1.6.0_03/bin/keytool --list --keystore /usr/java/jre1.6.0_03/lib/security/cacerts
Import key in java keystore.
openssl x509 -outform der -in certificate.pem -out certificate.der keytool -import -alias your-alias -keystore cacerts -file certificate.der
List content of der.
openssl x509 -in BPClass3RootCA.cer -inform der -noout -text
show jar file signing=
jarsigner -verify -verbose -certs file.jar
modify settiings
jcontrol
connect via jmx=
jcontrol
java options
Sets the initial memory size
-Xms256m / -ms256m
Specifies the maximum memory size
-Xmx2048m / -mx20148m