Vendor cfssl and cfssljson
This commit is contained in:
49
vendor/github.com/cloudflare/cfssl/cli/printdefault/defaults.go
generated
vendored
Normal file
49
vendor/github.com/cloudflare/cfssl/cli/printdefault/defaults.go
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
package printdefaults
|
||||
|
||||
var defaults = map[string]string{
|
||||
"config": `{
|
||||
"signing": {
|
||||
"default": {
|
||||
"expiry": "168h"
|
||||
},
|
||||
"profiles": {
|
||||
"www": {
|
||||
"expiry": "8760h",
|
||||
"usages": [
|
||||
"signing",
|
||||
"key encipherment",
|
||||
"server auth"
|
||||
]
|
||||
},
|
||||
"client": {
|
||||
"expiry": "8760h",
|
||||
"usages": [
|
||||
"signing",
|
||||
"key encipherment",
|
||||
"client auth"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`,
|
||||
"csr": `{
|
||||
"CN": "example.net",
|
||||
"hosts": [
|
||||
"example.net",
|
||||
"www.example.net"
|
||||
],
|
||||
"key": {
|
||||
"algo": "ecdsa",
|
||||
"size": 256
|
||||
},
|
||||
"names": [
|
||||
{
|
||||
"C": "US",
|
||||
"ST": "CA",
|
||||
"L": "San Francisco"
|
||||
}
|
||||
]
|
||||
}
|
||||
`,
|
||||
}
|
||||
Reference in New Issue
Block a user