• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

PKCS11_Mqtt_MutualAuthDemo.c A D21-Aug-202533.9 KiB838326

README.md A D21-Aug-20251 KiB2313

corePKCS11_MQTT_Mutual_Auth.sln A D21-Aug-20253.3 KiB5453

corePKCS11_MQTT_Mutual_Auth.vcxproj A D21-Aug-20256.7 KiB105105

corePKCS11_MQTT_Mutual_Auth.vcxproj.filters A D21-Aug-20256.3 KiB116115

core_mqtt_config.h A D21-Aug-20253.1 KiB8117

demo_config.h A D21-Aug-20255 KiB14319

main.c A D21-Aug-20252.8 KiB8622

pkcs11_demo_setup.py A D21-Aug-20252.1 KiB6552

readme.url A D21-Aug-2025221 65

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

1[{000214A0-0000-0000-C000-000000000046}]
2Prop3=19,2
3[InternetShortcut]
4IDList=
5URL=https://www.freertos.org/Documentation/03-Libraries/03-FreeRTOS-core/08-corePKCS11/03-corePKCS11-demos/01-Mutual-authentication-demo
6