Skip to content

TLS using PEM

Aune edited this page Oct 27, 2023 · 2 revisions

Certificates

If provided with certificates, Wrapperr can serve requests over HTTPS instead of HTTP.

All configurable files for Wrapperr are placed within the config directory. If you want Wrapperr to utilize HTTPS instead of HTTP, place your certificate files there.

  • Create your certificate file, name it cert.pem, place it in the directory.
  • Create your certificate private key file, name it key.pem, place it in the directory.
  • Restart Wrapperr and notice it says it started using HTTPS.

OpenSSL

Here is how can create your own PEM certificate files using OpenSSL:

$ openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes
Clone this wiki locally