Skip to content

Instantly share code, notes, and snippets.

@terrorobe
Last active May 22, 2017 17:31
Show Gist options
  • Save terrorobe/8f3b8f236da3c3488125fd1d4a5f9eaf to your computer and use it in GitHub Desktop.
Save terrorobe/8f3b8f236da3c3488125fd1d4a5f9eaf to your computer and use it in GitHub Desktop.
cfssl quickstart
{
"CN":"YOLOCA",
"names":[
{
"C":"AT",
"L":"Gmunden",
"O":"Yolo, Inc.",
"OU":"WWW",
"ST":"Upper Austria"
}
]
}
cfssl genkey -initca ca.json | cfssljson -bare ca
cfssl gencert -ca ca.pem -ca-key ca-key.pem ssltest.json | cfssljson -bare ssltest
{
"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