Using Let's Encrypt to secure an Asp.net Core app running on Ubuntu

I read the Asp.net Core uses the Kestrel web server and if the site is facing the internet you need to use a reverse proxy, usually Apache2 or Nginx. I am familiar with Apache so I will probably use that.

I was simply wondering if it is possible to make an Asp.net Core site on a Linux box HTTPS with the cerbot or is it possible with additional configuration?

You don’t have to go into details I just want to know if it’s possible.

Do you mean in combination Apache?

The answer would be yes.

You would use Apache's mod_proxy to reverse proxy to your ASP .NET Core site, and then you would use Certbot:

certbot --apache -d example.com

It doesn't really matter whether you're proxying to Kestrel or something else, only thing that matters to Certbot is that you're using Apache at the front.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.