[DigitalOcean] GrandNode Droplet - SSL Certificate [Nginx]

Friday, April 26, 2024 11:47:09 PM
  • Posted: Friday, August 28, 2020 9:34 AM
  • 1
Hello,

I have decided to give GrandNode a try and discovered that its easily "installable" on DigitalOcean, by creating a quick droplet with everything it needs.

Went through installation and finally got to play around with the backoffice and changing stuff around.

My questions are as follows,

How can I install an SSL certificate? I have never deployed a C# web app before, as I am used with Apache, usually you just create your config files with the location of your website(var/www/whatever.com) but now I have to deal with nginx serving as a proxy for GrandNode, it is a little bit confusing.

I have tried to run through certbot for nginx but it certainly did nothing of use as https is not working at all(no connection)...

I am sorry if I have posted in the wrong category, hopefully not, thank you!
0
  • Posted: Friday, August 28, 2020 1:32 PM
  • 953
Hello,

If you installed certbot and SSL successfully on Nginx, it's time to set it on GrandNode - edit appsettings.json file in the App_Data folder of your app. Change the UseForwardedHeaders from False to True. In Admin panel go to Configuration -> Store -> Edit your current store. Mark the checkbox - "Use SSL" and provide a secure URL with https for your store. Activation in GrandNode is very simple, the more tricky is the part with Nginx, you can check the DigitalOcean's tutorial for that: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
Best regards,
Patryk

GrandNode Team
0
back to top
Filters