Skip to content

Instantly share code, notes, and snippets.

@minrwhite
Created April 7, 2016 22:12
Show Gist options
  • Save minrwhite/b58e9eaaddccb1a16d85ee8deba07259 to your computer and use it in GitHub Desktop.
Save minrwhite/b58e9eaaddccb1a16d85ee8deba07259 to your computer and use it in GitHub Desktop.
Cfssl config.json example
{
"address": "<public ip address>",
"ca": "<ca-cert-path>",
"ca-key": "<ca-key-path>",
"tls-cert": "<tls-cert-path>",
"tls-key": "<tls-key-path>",
"responder": "<oscp-cert-path>",
"responder-key": "<oscp-key-path>",
"db-config": "/cfssl-config/db-config.json",
"signing": {
"default": {
"auth_key": "key1",
"expiry": "2160h"
},
"profiles": {
"server": {
"auth_key": "key1",
"usages": [
"signing",
"key encipherment",
"server auth"
],
"expiry": "2160h"
},
"client": {
"auth_key": "key1",
"usages": [
"signing",
"key encipherment",
"client auth"
],
"expiry": "2160h"
},
"client-server": {
"auth_key": "key1",
"usages": [
"signing",
"key encipherment",
"server auth",
"client auth"
],
"expiry": "2160h"
}
}
},
"auth_keys": {
"key1": {
"key": "<key removed>",
"type": "standard"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment