Page 1 of 1

QNAP Custom SSL Certificate Setup

Posted: Fri Feb 05, 2021 9:03 pm
by lcoughey
This really doesn't have anything to do with data recovery, but is storage related. I had to renew my SSL certificate for my QNAP and couldn't remember how I set it up in the first place. Their technical support was not very helpful and I couldn't find any forum postings that were simple and straight to the point. So, here is a very short summary of what I did.

Generate a new private SSL key with the following command in an SSH shell on the QNAP server:

Code: Select all

> openssl req -new -newkey rsa:2048 -nodes -keyout domain_com.pem -out domain_com.csr -subj /CN=domain.com; cat domain_com.csrI 
Note: domain.com / domain_com should be replaced with your actual domain name.

Then use the generated private key (CSR) with SSLs.com to generate a PostiveSSL cert which generates CRT, CA-BUNDLE and p7b files.

Then, use these files to setup the custom SSL on the QNAP:

Certificate: domain.com.crt
Private Key: domain_com.pem
Intermediate Certificate: domain.com.ca-bundle