This is the wolfSSL Command Line Utility (wolfCLU).
Configure and install wolfSSL with the following commands:
./autogen.sh # only needed if source pulled from GitHub
./configure --enable-wolfclu
make
make check
sudo make install
After wolfSSL is installed, install wolfCLU from the wolfCLU root directory:
./autogen.sh # only needed if source pulled from GitHub
./configure
make
make check
sudo make install
If wolfSSL was recently installed run sudo ldconfig
to update the linker cache.
Now, you should be able to use wolfCLU:
wolfssl -h
If everything worked, you should see the wolfCLU help message.
wolfssl -hash base64enc -in README.md > README_encrypted.md
wolfssl -hash base64dec -in README_encrypted.md
wolfssl -x509 -inform pem -in certs/ca-cert.pem -outform der -out outputfilename.der
wolfssl -x509 -inform der -in certs/ca-cert.der -outform pem -out outputfilename.pem
wolfssl -hash sha256 -in README.md -out README.md.sha256
wolfssl -rsa -sign -inkey ../certs/client-key.der -in README.md.sha256 -out README.md.signed
wolfssl -rsa -verify -inkey ../certs/client-keyPub.der -sigfile README.md.signed -out README.md.verify -pubin
At this point, the contents of README.md.sha256
and README.md.verify
should be the same.
Please contact [email protected] with any questions or comments.
Copyright (c) 2006-2021 wolfSSL Inc.