Use of cert.pem in scales config.json



  • Hi,

    I could install some minecraft server with ease however when i first create one, I receive an error saying that the server cannot be accessed and that this is probably because I need to accept the ssl certificate. When I click on it i'm redirected and asked to trust the certificate.

    Why trust this when putting fullchain.pem instead of cert.pem in config file solve the problem ? The docs says we should put cert.pem but I'm pretty sure it's a mistake.

    I also had some troubles with nginx. The config file created by the installer has some errors in the fastcgi_pass lines.

    Regards,



  • You only need to trust the certificate if it is a self-signed certificate. When installing your own SSL certificates you need to provide it with the proper cert file that you receive, which can vary from CA to CA. I don't see where in the docs it says specifically to put cert.pem, but you can submit a request to change them if the information is incorrect by clicking "Suggest Edits" at the top right of any page.

    Chances are if you are having trouble with the fastcgi_pass line you are not using a supported distro. Could you please verify which distro you are using?



  • I had this cert error following the using LetsEncrypt for Scales SSL.

    I'm using Debian. When the auto installer create a nginx conf file, there was 2 weird lines like this :

    fastcgi_pass unix:/var/run/php5-fpm.sock
    127.0.0.1:9000;
    

    So nginx raises an error about this. So i just put :

    fastcgi_pass 127.0.0.1:9000;
    

    or

    fastcgi_pass unix:/var/run/php5-fpm.sock;
    


  • The installer should only be putting one of those two lines into the config file, not sure why you would end up with two. I've updated the documentation to reflect your suggestions. Thanks.


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.