Providing a template for a full server-state setup including authentication, server-base, client-base and a few modules.
Remove the snake-oil certificate from the directory and use your own for a production environment!
If you testing your setup, import the given certificate cert.pem in your preferred test utility (browser, http pickers, etc.) or add an exception for this specific site https://localhost:4434
.
Key and certificate generated with:
openssl req -config openssl.cnf -new -x509 -sha256 -newkey rsa:2048 -nodes -keyout key.pem -days 365 -out cert.pem