QNAP Custom SSL Certificate Setup

A place to discuss pretty much anything related to storage, computers, data recovery or technology.
Post Reply
lcoughey
Site Admin
Posts: 980
Joined: Thu Jan 08, 2015 7:23 pm
Location: Ontario, Canada
Contact:

QNAP Custom SSL Certificate Setup

Post 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
Post Reply