Access containers on Synology via certificate

Things that make it go whrrrrr
Post Reply
User avatar
Mike R
Site Admin
Posts: 70
Joined: Fri Jan 24, 2020 3:40 am

Access containers on Synology via certificate

Post by Mike R »

https://mariushosting.com/synology-http ... t-the-end/

Finally, a way to do this that is laid out easily.
  • Go to Control Panel / Security / Certificate then click the Add tab.
  • After you click Add on STEP 3 a new pop up window will open. Select Add a new certificate then click Next.
  • After you click Next, select a Description for your certificate. I choose “bitwarden” because I will be using this certificate for my Bitwarden container. Select Get a certificate from Let’s Encrypt then click Next.
  • After you click Next, on the Domain name area, type in bitwarden.yourname.synology.me or the description name you have previously chosen at STEP 5.
  • Type in your email in the Email area, then click Done.
Wait for the certificate be generated. If everything goes right, you will see your new certificate in the Certificate area.
Now:
  • Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy.
  • Now click the “Create” button.
  • After you click the Create button, a window will open.
    • On General area, set the Reverse Proxy Name description: type in Bitwarden or the Description you have already chosen at STEP 5. After that, add the following instructions:
    • Source:
      Protocol: HTTPS
      Hostname: bitwarden.yourname.synology.me
      Port: 443
    • Check Enable HSTS
    • Destination:
      Protocol: HTTP
      Hostname: localhost
      Port: 5151 (Read the Note)
Next:
  • Go to Control Panel / Security / Certificate / Select the certificate you have previously created at STEP 7, then click Settings.
  • Your new certificate should be mirroring. Select your Certificate and, from the dropdown menu, select your Certificate again, then click OK.
Now open your browser and type in your HTTPS/SSL certificate, in my case https://bitwarden.mariushosting.synology.me
Yayyy!!! You're done!

The certificate may take a minute or two to work, but usually within the first few tries it will give you the magic green lock that tells you you can access your service from anywhere online.
Noyce!!
You Wouldn't Believe How Hard I Have to Work to be Lazy
Post Reply