go-cert-gen/viper.example.yaml

31 lines
645 B
YAML
Raw Normal View History

2023-02-15 19:27:44 +01:00
export_dir: "/home"
ca:
serial_number: 12152 # serial number
subject:
organization: "yourdomain.com"
common_name: "*.yourdomain.com"
2023-02-15 19:27:44 +01:00
key_usage: 1
ext_key_usage:
- 1
- 2
2023-02-20 21:35:19 +01:00
duration: "8760h0m0s" #1 year
client:
2023-02-15 19:27:44 +01:00
serial_number: 12151232 # serial number
subject:
organization: "yourdomain.com"
2023-02-15 19:27:44 +01:00
country: "RM"
province: "REML"
locality: ""
street_address: ""
postal_code: ""
subject_key_id:
- 1
- 2
- 3
- 4
- 6
key_usage: 1
ext_key_usage:
- 1
- 2
2023-02-20 21:35:19 +01:00
duration: "8760h0m0s"