Skip to content

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

EAPHammer Wiki

Clone this wiki locally