wolfssl-examples/certvfy
Sean Parkinson 9392da1907 Fix certvfy and tls examples for wolfSSL master API changes
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.
2026-10-09 12:16:54 +10:00
..
Makefile Add CI that builds and runs every example (#598) 2026-07-23 10:07:06 -06:00
README.md Low-level certificate verification examples 2024-06-06 15:53:14 +10:00
certsigvfy.c Low-level certificate verification examples 2024-06-06 15:53:14 +10:00
certvfy.c Fix certvfy and tls examples for wolfSSL master API changes 2026-10-09 12:16:54 +10:00
sigvfycert.c Low-level certificate verification examples 2024-06-06 15:53:14 +10:00

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