-
Notifications
You must be signed in to change notification settings - Fork 315
Importing Certificates and Keys
EAPHammer doesn't limit you to certificates created with Cert Wizard. You can also import certificates using --cert-wizard import
. Imported certificates and private keys are combined into a single PEM file and saved to certs/server
, then copied to certs/active, which incorporates them into eaphammer's static configuration. The imported certificate chain and key is then used by eaphammer until another cert is imported or created.
Imported certificates can be of any of the following formats, so long as they are in PEM format:
Server certificate, CA certificate, and server private key all in separate files:
Usage example:
./eaphammer --cert-wizard import
--server-cert /path/to/server_cert.pem
--ca-cert /path/to/ca_cert.pem
--private-key /path/to/server_key.pem
Full certificate chain in single file and server private key in separate file (i.e. "Let's Encrypt" certificate format):
Usage example:
./eaphammer --cert-wizard import
--server-cert /path/to/fullchain.pem
--private-key /path/to/private_key.pem
Server certificate and private key in combined PEM file, CA certificate in separate file:
Usage example:
./eaphammer --cert-wizard import
--server-cert /path/to/server_and_key.pem
--ca-cert /path/to/ca_cert.pem
Full certificate chain and private key in single PEM file:
Usage example:
./eaphammer --cert-wizard import \
--server-cert /path/to/fullchain_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