README.md
1See https://freertos.org/pkcs11/ for further information.
2
3Contains projects that demonstrate the PKCS #11 library.
4In order to run the mutual authentication demo, please convert the certificate and key PEM files associated with your IoT Thing, into a binary format DER.
5
6To do this, use either the python script pkcs11_demo_setup.py or openssl.
7If you choose to use the python script, pass in the absolute path of your PEM files.
8
9If you are to use openssl, the following commands should be sufficient in converting from PEM to DER.
10Certificate conversion:
11openssl x509 -outform der -in $CERT_IN_NAME -out $CERT_OUT_NAME
12
13Key conversion:
14openssl pkcs8 -topk8 -inform PEM -outform DER -in $KEY_IN_NAME -out $KEY_OUT_NAME -nocrypt
15
16Once the certificate and key are in binary format, move them to the same folder as the solution of the PKCS #11 demo you wish to run.
17
18PKCS #11 is a standard for managing crypto operations. Please see the following for more information.
19http://docs.oasis-open.org/pkcs11/pkcs11-base/v2.40/os/pkcs11-base-v2.40-os.html
20
21
22
23
readme.url