certvfy: wc_ParseCert() now takes a WOLFSSL_CERT_MANAGER*, so a Signer can no longer be passed as the CA. Check the issuer and verify the signature with wc_CheckCertSigPubKey() instead. tls: NO_SESSION_CACHE_REF is now the default, so a session from wolfSSL_get_session() is freed with its connection. Use wolfSSL_get1_session() in client-tls13-resume and client-tls-perf. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| README.md | ||
| certsigvfy.c | ||
| certvfy.c | ||
| sigvfycert.c | ||
README.md
wolfSSL Cert Verification Examples
This directory contains:
A simple example of using the low level wolfSSL APIs to verify a certificate in a standalone manner, separate from an SSL/TLS connection.
Compiling and Running the Example
$ cd wolfssl
$ ./autogen.sh # If downloaded from github
$ ./configure '--enable-cryptonly' '--enable-singlethreaded' 'CFLAGS=-DWOLFSSL_SMALL_CERT_VERIFY'
$ make all
$ make check
$ sudo make install
$ cd wolfssl-examples
$ cd certvfy
$ make all
$ ./certvfy
$ ./certsigvfy
$ ./sigvfycert