How to use self-signed certificates?
Why?
- If you want to use https in your local dev setup and you don't want to generate public certificates with Let'sEncrypt or something similar.
- NEVER use self-signed certificates in production unless you absolutely know what you are doing!
How it works
Entities you should be aware of:
- private CA - a private certificate authority that can generate TLS certificates. Since this is not a publicly recognized CA, its certificates will not be respected by (almost) anyone - but you can teach OPAL to respect that CA's certificates.
- localserver - a local program running with https:// signed with a certificate that was generated by the "private" CA.
- opal-client - can be directed to fetch data from localserver, can be told to respect the private CA's certificates