It is currently Thu Jan 21, 2021 11:01 am
All times are UTC + 8 hours

LetsEncrypt (Free SSL Certificate) & Asustor

Share your awesome tips and tricks here.

LetsEncrypt (Free SSL Certificate) & Asustor

Postby jscoleman » Fri Apr 01, 2016 5:35 am

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.
jscoleman
 
Posts: 27
Joined: Fri Apr 05, 2013 11:26 pm

Re: LetsEncrypt (Free SSL Certificate) & Asustor

Postby jscoleman » Fri Apr 01, 2016 6:13 am

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
jscoleman
 
Posts: 27
Joined: Fri Apr 05, 2013 11:26 pm

Re: LetsEncrypt (Free SSL Certificate) & Asustor

Postby Kapitein Haak » Fri Apr 01, 2016 4:28 pm

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.
"What would the world be like without Captain Hook?"
---
"Homo sapiens non urinat in ventum" (A wise man doesn't piss into the wind), only in Amsterdam:
https://www.google.nl/maps/@52.36289,4. ... 312!8i6656
User avatar
Kapitein Haak
 
Posts: 333
Joined: Tue Oct 15, 2013 2:40 pm
Location: Stranded on the Dutch coast.

Return to Tips & Tricks

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 3 guests