gnxi

Generating Certificates

This script is used to generate the required certs for use with both the client and the mock target.

Simply run the script:

./generate.sh

Then pass the generated certs into the client and target:

Target name

The script generates Target certificates with the name “target.com”

Client Example

./gnoi_reset \
 <...>
-target_name target.com \
-ca /path/to/ca.crt \
-cert /path/to/client.crt \
-key /path/to/client.key

Target Example

./gnoi_target \
 <...>
-ca /path/to/ca.crt \
-cert /path/to/target.crt \
-key /path/to/target.key