6 Example code
Examples of a simple server and client (server.pl and
client.pl as well as a simple HTTPS server (https.pl)
can be found in the example directory which is located in
doc/packages/examples/ssl relative to the SWI-Prolog
installation directory. The etc directory contains example
certificate files as well as a README on the creation of
certificates using OpenSSL tools.