minimal-examples-lowlevel/http-server/minimal-http-server-openhitls-mtls-crl/README.md
$ cmake . && make
$ ./lws-minimal-http-server-hitls-mtls-crl --port 7780
This test demonstrates TLS1.2 mutual authentication with certificate chain and CRL (Certificate Revocation List) using OpenHITLS.
The test includes an echo server that:
The test uses the default test certificates from the parent directory:
Run from the parent http-server directory or copy certificates to current directory.
Server requires valid client certificate:
info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
info.ssl_ca_filepath = "libwebsockets-test-server.pem";