Page 1 of 1

LetsEncrypt (Free SSL Certificate) & Asustor

Posted: Fri Apr 01, 2016 5:35 am
by jscoleman
This morning I setup my asustor with a cert from LetsEncrypt

Following this guide I was able to get this setup (Synology based, requires access to another linux machine)
https://www.reddit.com/r/synology/comme ... ogy_units/

The only step I had to do differently was to stop the web server, use: pkill myhttpd
After you have the certificate, append the fullchain.pem file with the contents of the privkey.pem. Do not add any extra spaces or line breaks.

Applying the certificate will restart the web services.

Re: LetsEncrypt (Free SSL Certificate) & Asustor

Posted: Fri Apr 01, 2016 6:13 am
by jscoleman
Found that you also have to manually add the chain cert in order for the cert to be trusted on some platforms (mobile):

Edit -> /volume0/usr/builtin/etc/apache2/mods-enabled/ssl.conf
Remove # from #SSLCertificateChainFile "/usr/builtin/etc/apache2/server-ca.crt"

add the chain.pem file:
vi /usr/builtin/etc/apache2/server-ca.crt

paste the contents of the chain.pem file, save

Restart apache service
/volume0/usr/builtin/etc.default/init.d/S54apache2 stop
/volume0/usr/builtin/etc.default/init.d/S54apache2 start

Re: LetsEncrypt (Free SSL Certificate) & Asustor

Posted: Fri Apr 01, 2016 4:28 pm
by Kapitein Haak
Hello Jscoleman,

To bad that one requires a separate Linux machine to install the Letsencrypt certificates. The latest (beta?) Synology firmware support LetsEncrypt certificates, which is a great feature. All the connections to the NAS with a free, easy to configure and install certificate.

Best regards,
Kapitein Haak.