How can I add a Letsencrypt certificate to make https connections secure? #1888
-
I launch dab.exe on a Windows Server 2022 exposed publicly via one of our domains. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I suggest taking a look through ASP.NET's hosting documentation to determine the hosting mechanism the best suits your needs. There are also instructions on how to set up your environment for each of those scenarios: |
Beta Was this translation helpful? Give feedback.
-
I also had no luck with IIS and reverse proxy. Kept getting a 502 error. Cloudflare tunnel worked like a charm. |
Beta Was this translation helpful? Give feedback.
I believe the focus with DAB is on the API functionality itself, not the infrastructure such as certificates etc.
You should be able to achieve what you want by using Acme to handle letsencrypt with IIS.
Alternatively, I recommend an easier route of using a cloudflare tunnel and their managed SSL service. All of this can be achieved on their free tier unless you need specific functionality. All you need is your own domain.