---
title: "Comment by Olohundare kayode on \"How we generate and renew SSL certs for arbitrary custom domains using LetsEncrypt!\" | Hashnode"
description: "Thanks for this article, i was able to generate SSL for all custom domains using this tutorial https://gateclose.org (a custom domain that now has SSL in it) ht"
url: "https://hashnode.com/posts/how-we-generate-and-renew-ssl-certs-for-arbitrary-custom-domains-using-letsencrypt/5c94d0771e0fb7505b9b0f59/comment/5f0c1052c4f10b5bba43fdb1"
---

[Discussion](https://hashnode.com/posts/how-we-generate-and-renew-ssl-certs-for-arbitrary-custom-domains-using-letsencrypt/5c94d0771e0fb7505b9b0f59)

Comment [How we generate and renew SSL certs for arbitrary custom domains using LetsEncrypt!](https://hashnode.com/posts/how-we-generate-and-renew-ssl-certs-for-arbitrary-custom-domains-using-letsencrypt/5c94d0771e0fb7505b9b0f59)

[Olohundare kayode](https://hashnode.com/@naskkotech)

[Jul 13, 2020](https://hashnode.com/posts/how-we-generate-and-renew-ssl-certs-for-arbitrary-custom-domains-using-letsencrypt/5c94d0771e0fb7505b9b0f59/comment/5f0c1052c4f10b5bba43fdb1)

Thanks for this article, i was able to generate SSL for all custom domains using this tutorial

[gateclose.org](https://gateclose.org/) (a custom domain that now has SSL in it)

[nbstgloballtd.com.ng](https://nbstgloballtd.com.ng/) (the main server)

But i have a little problem, custom domains do not redirect to https by default, and for a custom domain to get data from the main server, it needs to include https, so i do have to enter https manually, pls is there anyway i can go about redirecting all custom domains to https in openresty
