I have a very difficult problem installing ssl - please help

AI-generated summary

User MrSalah is having trouble installing SSL on their Digital Ocean server. After setting up the server and domain, they attempted to convert the site to HTTPS protocol, but the site stopped working. Stephen pointed out that following the official installation guide would have set up the site with HTTPS by default. However, MrSalah used the automatic installation on the Digital Ocean site, which is not supported. Stephen suggested seeking help from Digital Ocean directly or trying their community, and provided a link to enabling HTTPS in their one-click installation. MrSalah shared resources from Digital Ocean on setting up SSL, but pfaffman offered a potential solution: running the command cd /var/discourse and ./discourse-setup to set up Let’s Encrypt.

I purchased the server, installed the script normally on the Digital Ocean site

Then I opened it normally, equipped everything and connected the domain also normally

You then start by converting the site to an https protocol, and you have the necessary settings, as in the following section: https://youtu.be/vAPuHBlcOms

And then the site stops working domain and ip words do not work?

What is the solution? Or should I get off?

Hosted Domain: http://elbwasil.com

For information: I made the mistake twice

Why did you do this? The installation guide will set the site up with HTTPS by default. Which install process did you follow?

What do I do if, to link the ssl certificate correctly?

If you follow the installation guide correctly the SSL termination is handled for you. No need to take any additional steps.

If you follow third party guides we can’t really support your installation.

No, I used the automatic installation on the Digital Ocean site

We don’t support their one-click installation here. We can only assist if you’ve followed our installation guide, which takes care of this for you.

If you do follow our guide you won’t need to do anything twice, the documentation is excellent and little can go wrong providing you follow it in its entirety.

You may be able to get some help from DigitalOcean direct, alternatively try their community.

They do have a section on enabling HTTPS in their one-click installation, YMMV.

Enabling HTTPS

We strongly recommend using SSL to secure the connection between the Discourse server and the clients connecting to it. Discourse provides the following resources on setting up SSL:

try this:

cd /var/discourse
./discourse-setup

When it asks for the Let’s Encrypt email address, give it one.