Changes between Version 2 and Version 3 of dev/tls
- Timestamp:
- 10/28/21 03:20:17 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dev/tls
v2 v3 22 22 openssl req -x509 -new -nodes -key my.key -sha256 -days 1024 -out my.pem 23 23 }}} 24 (without the prompts) 25 {{{#!sh 26 openssl req -x509 -new -nodes -key my.key -sha256 -days 1024 -out my.pem -subj '/C=CA/ST=British Columbia/L=Vancouver/O=extollIT Enterprises/OU=Gauss Projects/CN=Minecraft JMX/emailAddress=support@extollit.com' 27 }}} 24 28 25 29 Now create a PKCS12 store from the PKI pair (private key + public cert): … … 31 35 Import the PKCS12 store into a local JKS: 32 36 {{{#!sh 33 keytool -importkeystore -destkeystore my.jks -srckeystore my.p12 -srcstoretype pkcs12 -alias my-side 37 keytool -importkeystore -destkeystore my.jks -srckeystore my.p12 -srcstoretype pkcs12 -alias my-side -deststoretype pkcs12 34 38 }}} 35 39