So, what is SSL exactly?
Ever seen "Not Secure" when visiting a page? If you're here, you've probably noticed this. Most browsers consider a page "Not Secure" when that site is not using HTTPS, which means that anybody that has access to your network is able to intercept and potentially alter your request. Your transcripts aren't transmitting sensitive information, so in most cases, this isn't a big issue — but some may want to remove the "Not Secure" warnings from their page.
Enable HTTPS/SSL for your domain
Create a certificate with ZeroSSL
First, navigate to ZeroSSL's website and enter your domain in the box. Make sure to include the subdomain, ex: transcripts.synapse-hosting.xyz.
Enter your email address and a secure password, and then select "Next Step" to continue.
Make sure your domain is correct, and select "Next Step".
Select "90-Day Certificate". Every 90 days, you will receive an email requiring you to complete validation again, or else your certificate will expire. For a 1-Year Certificate, you will need a ZeroSSL membership, so we suggest sticking with the 90 day expiry.
Select "Auto-Generate CSR". In most cases this should be fine, but if you'd like, you can manually enter your details by unchecking the box and entering your details.
Make sure the Free plan is selected, and then select "Next Step". If you've selected a paid option in the earlier steps, you'll need to finalize the purchase of your plan.
Now you'll need to validate your domain ownership. If you have email setup, the easiest way to validate your domain is by receiving an email and clicking the link enclosed. If you don't, another easy method is to add a DNS record to your domain. We'll be showing how to do email validation in this example.
Select the type of verification you want to complete, select "Next Step", and then select "Verify Domain".
After you complete the steps displayed, click "Refresh Status". It may take a while for their system to detect the verification. After that, select "Install Certificate".
You'll then be brought to the certificate download page. Make sure the "Server Type" is set to "Default Format", and then click "Download Certificate".
That's it! You've now generated your certificate! Now it's time to install it.
Install your newly generated certificate
Note: This guide assumes you're using our hosting. The steps will likely vary if you aren't.
Login to Pterodactyl, select your server, and select "File Manager" at the top. Then, navigate to the "ssl" folder.
Upload the .zip file you downloaded, and then unarchive it in the "ssl" folder.
Now you can delete the .zip file by following the steps above, but instead selecting "Delete".
Rename "private.key" to "private.pem" and "certificate.crt" to "certificate.pem".
Now, in your configuration file, change "useSSL" to true.
"useSSL": true, // SSL is used for secure connections (HTTPS), <https://is.gd/VPbpMN>
You do not need to change "privateKeyFile" and "certificateFile" because you renamed the files earlier to the proper format. Now, restart your bot, and all transcripts should now include "https", and the "Not Secure" warnings will be removed!