How to create your own Certificate Authority to provide certs for your self-hosted services

I'll show you how to create your own Certificate Authority (CA) to sign your own certificates, trust them, renew them, and use them in proxmox and Synology.