Hands-on task
Sign a file with a key
There's a private key /root/sign.key and a public one /root/sign.pub. Sign the file /root/msg.txt with the private key (SHA-256), saving the signature to /root/msg.sig, so that it can be verified with the public key.
- digital signature
- openssl dgst
- sha-256
- private key
- authenticity