Follow these steps before trying to run any code.
- First, generate a Certificate Authority (CA).
openssl genrsa -out rootCA.key 2048
- Second, self-sign it.
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo | |
| echo usage: $0 network-interface | |
| echo | |
| echo e.g. $0 eth0 | |
| echo | |
| echo shows packets-per-second |