1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- 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"
- }
- ]
- }
- `,
- }
|