The bash script demonstrates the bash interface of YubiHSM2.
To run the script the following preparations must be made:
- Install:
- OpenSSL
- YubiHSM-Shell
- YubiHSM OpenSSL engine
- An YubiHSM2 hardware in facktory reset state
...do not use the script for a productive HSM!
Enter:
sudo ./demo_script.sh
With more output enter:
sudo -x demo_script.sh
- /configs/[issue|root]_ca/ - the configuration files of the ca
- /functions - the bash (sub-)scripts
- /tmp - the place of logs, certifikats, csr and other generated things.