Skip to content

Instantly share code, notes, and snippets.

@anubhavshrimal
anubhavshrimal / CountryCodes.json
Last active November 1, 2025 20:46 — forked from Goles/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@Hakky54
Hakky54 / java_keytool_cheat_sheet.md
Last active September 25, 2025 20:37
Keytool Cheat Sheet

Keytool CheatSheet 🔐

Some history

This cheat sheet came into life when I started working on a tutorial of setting up one way tls and two way tls, which can be found here: GitHub - Mutual TLS SSL

Creation and importing

Generate a Java keystore and key pair

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