Run the website in Apache and Python Rest Services in NGINX on HTTPS

I have a website (React) that runs on Apache in SSL. I have used LetsEncrypt to obtain an SSL certificate for my website. In the same table, I also have some REST services running on NGINX. How can I run Apache and NGINX on HTTPS to use the same certificate? If I create a self-signed certificate, modern browsers don't seem to like it.