wolfssl-examples/crypto/pkcs12
Andras Fekete 4c2f96ff64 Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
..
Makefile Clean up wolfSSL path variable name 2024-04-04 13:28:23 -04:00
README.md Adding documentation where needed. Made changes to code to assure files build and implement good coding practices 2021-06-29 16:02:52 -06:00
pkcs12-create-example.c adding use of devid to pkcs12 example 2022-10-07 14:44:27 -07:00
pkcs12-example.c adding use of devid to pkcs12 example 2022-10-07 14:44:27 -07:00
test-servercert.p12 simple pkcs12 example added 2017-01-09 14:35:12 -07:00

README.md

These PKCS12 examples need wolfSSL to be built using:

./configure --enable-pkcs12 --enable-pwdbased --enable-des3 --enable-keygen --enable-certgen make sudo make install

How to use pkcs12-example.c

  1. Compile wolfSSL then run 'make' from this directory.

  2. Run the excecutable as follows:

     ./pkcs12-example
    
  3. Running 'make clean' will delete the excecutable as well as any created files. Making sure that the only files left are 'pkcs12-example.c', 'Makefile', 'test-servercert.p12'and 'README'.

How to use pkcs12-create-example

  1. Compile wolfSSL then run 'make' from this directory.

  2. A new key and certificate is generated then output into the output.p12 pkcs12 bundled created. The default password is "test password"

    ./pkcs12-create-example