Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 834 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 834 Bytes

Config

On startup the csr.yml file will be loaded from the current directory. This file allows you to specify attribute defaults and requirements.

The following attributes are available for configuration:

  • country
  • province
  • locality
  • organization
  • organizationalUnit

Each attribute has the following options:

  • default: The default value
  • required: Require this attribute to have a value
  • lock: Force the default value, don't allow user to change
country:
  default: US
  lock: true
province:
  default: Ohio
  required: false
locality:
  default: Smalltown
  required: false
organization:
  default: Example Corp
  lock: true
organizationalUnit:
  default: PKI
  required: false

Note: If an attribute has a default value but is not required, a - can be entered to remove the attribute from the CSR.