Secure Your QNAP: Step-by-Step SSL/TLS Installation Guide
Begin by selecting an SSL/TLS certificate authority that offers free server certificates. To save you time, I’ve put together a list below of trusted providers that supply complimentary certificates suitable for QNAP systems.
This guide walks you through the process of obtaining an SSL/TLS certificate—using startssl.com as an example—and installing it on your QNAP NAS. These providers typically allow unlimited free renewals.
Explore the recommended free SSL/TLS certificate issuers here:
Free SSL/TLS Certificate Providers:
- https://startssl.com/
- https://buy.wosign.com/free (Note: This provider may sometimes be flagged as untrusted).
- https://letsencrypt.org/ (Supports automatic installation via Plesk).
- https://www.digitalberg.com/ssl-certificates/ssl-price/ (International provider).
Understanding SSL/TLS on QNAP
This tutorial is based on a QNAP PRO TS-269L running firmware version 4.2.1. When configuring SSL on QNAP, you’ll need three main components: the certificate, the decrypted private key, and the intermediate certificate.
For reference, here’s an example screenshot showing where to input these details on your QNAP:
Simply put:
- Upload the Certificate in the first field,
- Paste the Decrypted Private Key into the second field,
- Enter the Intermediate Certificate in the third field.
QNAP requires a decrypted private key rather than an encrypted one. You can utilise the decryption utility provided by your certificate provider (like StartSSL) or search online for other tools that decrypt SSL private keys.
How to Request and Install an SSL/TLS Certificate on QNAP
- Open the StartSSL website.
- Click ‘Sign-up’.
- Enter your country, personal or business email address.
- Verify the confirmation code sent to your email.
- Validate ownership of your domain.
- Log in and go to the certificate wizard.
- Choose the Web Server SSL/TLS option.
- Enter your subdomain (e.g., use ‘cloud’ if you want cloud.yourdomain.com).
- Create a Certificate Signing Request (CSR) for your chosen subdomain.
- For QNAP, select ‘Generate by PKI system’ and set a strong password.
- Submit your request and download the Private Key and the Intermediate Certificate.
- Decrypt your Private Key—required for QNAP—using the tool in your StartSSL account.
- Return to your account and access the ‘Toolbox.’
- Find the Decrypt tool.
- Paste your Private Key, enter the passphrase, and click ‘Decrypt.’
- Save the output as your decrypted private key file.
- You should now have a folder containing your certificate, decrypted private key, and intermediate certificate.
How to Upload SSL/TLS Certificates to your QNAP
- Log in to your QNAP interface.
- Navigate to Control Panel > System Settings > Security.
- Paste your ‘Certificate’ into the first field.
- Paste your decrypted private key (in x.509 PEM format) in the second field.
- Paste the Intermediate Certificate into the third field and press ‘Apply’. You’re all set!
- Test your setup by visiting your secure URL (e.g., https://cloud.yourdomain.com).
Step-by-step Images and Additional Guidance
- Sign up for a free SSL certificate account
2. Go to your account dashboard and click on ‘FREE Certificate’
3. Select ‘Web Server SSL/TLS’
4. Add your subdomain, generate the PKI Key, and confirm your password.
5. After downloading your certificate files, use the Decrypt Private Key tool. Paste your downloaded key with its passphrase.
6. Save the decrypted key in a separate text file, labelled as ‘Decrypted SSL Key.’
Final Steps on QNAP:
- Paste your Certificate into the first box.
- Paste your decrypted Private Key into the second box.
- Paste your Intermediate Key in the third box, then click ‘Apply’. That’s it!
Having trouble applying the certificate? If you receive an error message or the certificate isn’t being recognised, double-check that all contents are in the correct PEM format (with appropriate BEGIN/END tags) and that you’ve not included extra spaces or characters. Sometimes, a reboot is required for changes to take effect on certain QNAP models.
11 comments