Tweets

lördag 25 augusti 2012

Setup SSL-certificate and dynamic DNS on Synology NAS

I've written Qnap, SSL-certificate and dynamic DNS before, and now it's time for Synology (tested on ds412+). These steps are about the same -simpler though. You can always read the official guide.
  1. SSH into your Synology NAS.
  2. Generate private key: openssl genrsa -out priv.key 1024
  3. Generate certificate: openssl req -new -key priv.key -out server.crt -x509 -days 365 (where x509 is the certificate format and 365 is the number of days the certificate is valid). Nota bene! For Common name use for example the address of the site you wish to access!: "Common Name (eg, YOUR name) []:my-own.dyndns.org"
  4. Move both files to your computer.
  5. Add files to NAS: login to DMS > Control Panel > DSM Settings > HTTP Service > Import Certificate. Here you add the private key and certificate.
  6. Open the certificate file on your computer, you should be prompted to install it. Make sure you install it in the "Trusted Root..." (see screenshot).
  7. Shut down all browser windows.
  8. Open browser and HTTPS into NAS. Your certificate is working!



Inga kommentarer:

Skicka en kommentar