Synology NAS - https://mycustomdomain.co.uk:32400/web - refused to connect

Once you have created the new directory /volume1/tempcerts and moved your certs into it

Try this command, I have put it all on one line to save any issues with the slashes in the old command.

If you have created the directory as suggested, this command should be correct on your nas.

sudo openssl pkcs12 -export -out /volume1/tempcerts/Plex.pfx -inkey /volume1/tempcerts/privkey.pem -in /volume1/tempcerts/cert.pem -certfile /volume1/tempcerts/chain.pem 

This command will create the pfx file in the same /volume1/tempcerts folder as the certs.

We can move it later if we can get it to generate it successfully

Yeah sorry it is the full code just accidently snipped it at the end. Also, it looked like 1s -1 instead of ls -l, so ive just redone it

Okay, ill try that code now, thank you

see how you get on. I have to take my dog for a walk now, so will be away for a bit.

Okay, thank you again for your help. Enjoy the walk. That code worked this time and i now have the plex.pfx file in my /volume1/tempcerts/ folder.

Hi Blim5001,

Good news, I put the certificates back into /volume1/Plex/ & retried the code in ssh and it worked producing a Plex.pfx.

When i goto my domain it now shows secured.

These are my settings now

I have set my secured connections setting to Required. Is this wise? Does this block me from connecting via the 192.168.x.x:32400/web since that isnt secured?

Do i need to redo this every time i renew my certificate with lets encrypt?

Really do appreciate the help though, if i could buy you a drink i would. Thank you! & Thank you ChuckPa for the initial help too.

ha ha, glad it worked.

I still do mine manually every 3 months.

I think there maybe some info about automating somewhere in the forum, if I come across it, i’ll post the link (but I do find the search on this forum a bit challenging)

I would just try the ip address and if it works, then stick with Required. fwiw I have mine set to preferred.

Is there a specific reason you re do yours every 3 months? Do you change the encryption password too?

That would be great if you do come across it.

Only because I have not got round to automating it and that’s how long a lets encrypt cert lasts.
(am not sure how to automate adding the password when generating the pfx file, although I am sure there is a way…)

I keep the same encryption password

tbh Plex on my nas is only my personal backup Plex server, so does not get used much

for info, think the certs are stored on your nas in folders with random names (at least mine are(:
/usr/syno/etc/certificate/_archive/ so the challenge is working out which folder if you have more than one cert :wink:

This is the thread:

But I have not tried it.

Thank you, I will try it tomorrow and let you know how it goes. Unless you ofcourse get around to trying it before me :smiley:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.