csrgen

command module
v0.0.0-...-2cd849e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: GPL-3.0 Imports: 17 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL