How to setup SSL for localhost or dev environment?

dear @DMehaffy, when we want to Deploy Strapi with Dokku on e.g. Hetzner Server.

How can we configure so that dokku app (strapi) works with the domain and SSL?

https://grahambailey.io/deploy-strapi-with-dokku/

Thank you