documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Install doc specifically SSL and Certs

Open Talidorn opened this issue 3 years ago • 0 comments

I'm following the documentation on https://pterodactyl.io/community/installation-guides/panel/centos8.html.

I get to the point where you are to setup SSL. It says follow the guide ->https://pterodactyl.io/tutorials/creating_ssl_certificates.html

That document says:

When you are using certbot's Nginx/Apache plugin, you won't need to restart your webserver to have the certificate applied assuming that you've already configured the webservers to use SSL as instructed in the web server configuration step

Ok, so now to the https://pterodactyl.io/panel/1.0/webserver_configuration.html document.

This one is where I got hung up.

It starts with (I'm guessing I need to do the steps for NGINX with SSL as that is the whole point right?

Issue 1 - First, remove the default NGINX configuration. There is no such file, in AlmaLinux (guessing to follow CENTOS standards) in the directory listed. Command suggested is rm /etc/nginx/sites-enabled/default.

Issue 2 - Create file /etc/nginx/conf.d/pterodactyl.conf (use the text in large box) and then sudo systemctl restart nginx. Something somewhere has gone 100% wrong at this point. nginix won't start now. I think there is an selinux issue????

Yeah so I'm a bit stuck on install as the https/ssl thing is failing.

My workaround was to skip the SSL and just do NGINX with SSL.

Talidorn avatar Oct 10 '22 02:10 Talidorn