Last active
May 22, 2017 17:31
-
-
Save terrorobe/8f3b8f236da3c3488125fd1d4a5f9eaf to your computer and use it in GitHub Desktop.
cfssl quickstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"CN":"YOLOCA", | |
"names":[ | |
{ | |
"C":"AT", | |
"L":"Gmunden", | |
"O":"Yolo, Inc.", | |
"OU":"WWW", | |
"ST":"Upper Austria" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cfssl genkey -initca ca.json | cfssljson -bare ca | |
cfssl gencert -ca ca.pem -ca-key ca-key.pem ssltest.json | cfssljson -bare ssltest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hosts":[ | |
"ssltest.michaelrenner.at" | |
], | |
"CN":"ssltest.michaelrenner.at", | |
"key":{ | |
"algo":"rsa", | |
"size":2048 | |
}, | |
"names":[ | |
{ | |
"C":"AT", | |
"L":"Gmunden", | |
"O":"Yolo, Inc.", | |
"OU":"WWW", | |
"ST":"Upper Austria" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment