Page 1 of 1

Let's Encrypt SSL Certificate Idiot's Guide

Posted: Mon Oct 29, 2018 11:16 pm
by Tim1023
I'm just in the process of installing my first NAS and just wasted most of my weekend trying to get my own certificate via Let's Encrypt or SSL for Free (which generates certificates from Let's Encrypt). In the end it was dead simple, so I thought I'd write this for other beginners with an easy-to-find title.

It turns out that you don't need to faff around with external sites, SSH, cURL commands, and all of that other frightening-looking stuff. QNAP has kindly integrated everything into apps, but only one of them works!

I assume that you have managed to set up myqnapcloud and have the myqnapcloud app running on your NAS.

1. IGNORE Control Panel/System/Security/Certificate & Private Key as this seems to have a bug. This page can be used later to download your certificate should you need it.
2. Open the myqnapcloud app on your NAS
3. Click on SSL Certificate in the left panel
4. Under Let's Encrypt, hit the Download and Install button
5. Enter your myqnapcloud domain name <yourdomain>.myqnapcloud.com and your email address
6. Select Automatically Renew should you want. Probably best.
7. Click on confirm & wait a little
8. Enjoy all that SSL goodness!

I assume that the above should work in the vast majority of cases. :)
References to help Forum search: https://letsencrypt.org/, https://www.sslforfree.com/

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Wed Apr 17, 2019 6:47 am
by aloharaz
nobody wants to use myqnapcloud **. I want to use my own fixed IP and domain name!!!
qnap.myowndomain.com for example.

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Wed Apr 17, 2019 3:28 pm
by Toxic17
aloharaz wrote:
Wed Apr 17, 2019 6:47 am
nobody wants to use myqnapcloud **. I want to use my own fixed IP and domain name!!!
qnap.myowndomain.com for example.
I suggest you use this then.

viewtopic.php?f=320&t=132911

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Fri Jun 14, 2019 3:40 pm
by terrytse
use Let's Encrypt SSL Certificate with own domain name

On Qnap
1. Enable Web Server with port 80. Control Panel --> Applications --> Web Server
2. Ensure Qnap System port is not using port 80. Control Panel --> System --> General Setting --> System Port is not port 80

On your router
3. create a port forward rule, forward external port 80 to internal port 80, server is your qnap

On you Browser
4. test web access to your qnap public ip or FQDN, http://your_qnap_ip:80
5. make sure it will not redirect to your Qnap admin login page

On Qnap
6. download and install Let's Encrypt SSL Cert, Control Panel --> System --> Security --> Certificate & Private Key, click "Replace Certificate" --> get from Let's Encrypt
7 . enter your own domain name qnap.myowndoamin.com and your email address


i am able to install Let's Encrypt SSL Cert by doing above.


** tested enable "force secure connection (HTTPS) only" under Control Panel --> System --> General Setting, seem it will break

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Wed Jul 03, 2019 5:16 am
by SenseoHasser
Thanks for this guide!

Is there a way to auto-renew the certificate?

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Thu Jul 18, 2019 6:43 am
by kirilly
Hi, I've managed to trick Chrome SSL using local network address with Let's Encrypt certificate + editing hosts (making "https" icon NOT crossed out ie. certificate considered valid):
1.Followed "Let's Encrypt SSL Certificate Idiot's Guide" by using myqnapcloud (I have error by missing port 80 etc. with Control Panel --> Applications --> Web Server)

2.Added to hosts file:

Code: Select all

192.168.1.2:443 my-id.myqnapcloud.com
(or whatever your local NAS IP and port is)

3.Followed the URL:

Code: Select all

https://my-id.myqnapcloud.com:443
Hope this will help!

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Sat Jul 27, 2019 6:42 am
by drock_in_nc
I was getting the port 80 error. Turned out to be I had the checkbox to force only HTTPS connection checked on the webserver. Once I removed that setting I was able to redo my certificate and all my sub alt names.

Re: Let's Encrypt SSL Certificate Idiot's Guide

Posted: Mon Jul 29, 2019 4:09 am
by goodelyfe
Control Panel --> System --> Security --> Certificate & Private Key, click "Replace Certificate"


if you are using this method, where are the certs placed?