Skip to content

Certificate Attributes

freqyXin edited this page Sep 10, 2019 · 1 revision

The flags listed in this section are used to set the subject and attributes of both self-signed and CA-signed certificates created with Cert Wizard.

The --cn flag is used to set the Common Name (CN) of the generated certificate, and is mandatory:\

  • --cn - Specify certificate common name (CN) The following flags are used to set specific certificate attributes, and are optional:

  • --country - Specify certificate country attribute

  • --state - Specify certificate state or province attribute

  • --locale - Specify certificate locale (city) attribute

  • --org - Specify certificate organization attribute

  • --org-unit - Specify certificate org unit attribute

  • --email - Specify certificate emailAddress attribute For example, the following command generates and imports a self-signed certificate with these specific attributes:

./eaphammer --bootstrap
 --country US
 --state Washington
 --locale Seattle
 --org BigScaryEDRVendor
 --org-unit Legal
 --email bugreport@bsevendor.com

Cert Wizard also has a number of advanced options that can be used during cert creation:

  • —not-before - Specify datetime on which cert should become active.
  • —not-after - Specify datetime on which cert should become active.
  • —algorithm - Specify algorithm with which to sign cert.
  • —key-length - Specify default certificate key length.

However, in most cases these options can be left to their default values.

EAPHammer Wiki

Clone this wiki locally