-
Notifications
You must be signed in to change notification settings - Fork 313
Using External CA Certs and Keys
freqyXin edited this page Sep 10, 2019
·
1 revision
If you happen to "stumble" across a valid CA certificate and private key, you can use these to create trusted SSL certificates. Note that the CA certificate and private key must be in PEM format. To do this, you need to use the --ca-cert
and --ca-key
flags as shown in the following example:
./eaphammer --cert-wizard create
--cn MySecureWiFi.biz
--ca-cert /path/to/ca.crt
--ca-key /path/to/ca.key
As with the creation of self-signed certs, the mandatory --cn
flag is used to set the Common Name (CN) of the certificate. Additionally, all of the flags listed in the next section can be used to further configure the generated certificate.
If the CA certificate and private key have been combined into a single PEM file, the --ca-key
flag can be omitted:
./eaphammer --cert-wizard create
--cn MySecureWiFi.biz
--ca-cert /path/to/ca_cert_and_key.pem
-
- XIV.1 - Interactive Mode
-
XIV.2 - Creating Certificates
--cert-wizard create
-
XIV.3 - Importing Certificates and Keys
--cert-wizard import
- XIV.4 - Listing Previously Imported or Created Certificates
--cert-wizard list
- XIV.5 - Regenerating Diffie Hellman (DH) Parameters
--cert-wizard dh
- XIV.6 - Overriding EAPHammer's Static Configuration