I need some help to develop this solution in my application.
I have a domain https://my-app-api.com with SSL and there is running my application API. Every customer who using my application can enter their own Custom Domain for example customer-domain.com and points his domain CNAME to my-app-api.com.
Additional info
My API running on Kubernetes cluster and using DigitalOcean services.
Problem
There is a problem with SSL certificates. Custom Domain that points to my-app-api.com runs only under HTTP not HTTPS. Everything must be done automatically over API. If customer enters a new custom domain and points CNAME to my app domain then I need to provide connection over HTTPS.
- How can I get it to run on HTTPS?
- Is zerossl.com solves that problem for me?
- Do I have to use Caddy or smth else?