No setup required! You only need an SSL certificate, and this plugin will do the rest.
Clean up WordPress website HTTPS insecure content
Fixes all mixed content warnings. Removes both HTTP and HTTPS protocols from all links from the front-end and back-end.