Skip to content

Instantly share code, notes, and snippets.

View claudhu's full-sized avatar

ClaudHu claudhu

  • Taipei
View GitHub Profile
@claudhu
claudhu / self-signed-certificate-with-custom-ca.md
Last active November 19, 2019 09:29 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

建立根CA

建立根私鑰

注意: 此私鑰用於簽署憑證請求,任何人擁有此私鑰都可以用你的名義簽署證書,所以請保管於安全的位置

openssl genrsa -des3 -out rootCA.key 4096

如果你不想使用密碼保護私鑰,可以移除-des3的選項