Skip to content

Instantly share code, notes, and snippets.

View p-karanthaker's full-sized avatar
🎯
Focusing

Karan Thaker p-karanthaker

🎯
Focusing
View GitHub Profile
@p-karanthaker
p-karanthaker / java_keytool_cheat_sheet.md
Created October 16, 2020 11:15 — forked from Hakky54/java_keytool_cheat_sheet.md
Some list of keytool commands for create, check and verify your keys

Keytool

Creation and importing

Generate a Java keystore and key pair

keytool -keystore keystore.jks -genkeypair -keyalg RSA -keysize 2048 -alias server -validity 3650 -deststoretype pkcs12 

Generate a Java keystore and key pair and include Distinguished Name as one-liner and the Extensions

FWIW: I'm not the author of the content presented here (which is an outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?