1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 02:32:51 +01:00

Updated SSL (markdown)

Benjamin Staneck 2018-05-15 21:30:35 +02:00
parent e04bdc9527
commit 67f0cc0a60

8
SSL.md

@ -47,19 +47,19 @@ Mono doesn't support intermediate certificates, which results in a broken chain
1. Using OpenSSL >1.0.0 it should be possible to generate a .pvk using a .pem from LetsEncrypt
openssl rsa -in privkey.pem -outform PVK -pvk-none -out sonarr.pvk
`openssl rsa -in privkey.pem -outform PVK -pvk-none -out yourdomain.pvk`
2. You will also need to generate a .cert from .pem
openssl x509 -inform PEM -in cert.pem -outform DER -out sonarr.cert
`openssl x509 -inform PEM -in cert.pem -outform DER -out yourdomain.cert`
### Synology Only
_If you're not running Sonarr on a Synology, skip these steps_
1. Place the SSL certificate **and** converted key in `pvk` format in `/volume1/@appstore/nzbdrone/var/`
2. Load the certificate with `httpcfg` (comes with mono) as `nzbdrone`, the user that runs Sonarr:
2. Load the certificate with `httpcfg` (comes with mono) as `sc-nzbdrone`, the user that runs Sonarr:
`su nzbdrone -c "/volume1/@appstore/mono/bin/httpcfg -add -port <SSL_PORT> -pvk yourdomain.pvk -cert yourdomain.cert"`
`su sc-nzbdrone -c "/volume1/@appstore/mono/bin/httpcfg -add -port <SSL_PORT> -pvk yourdomain.pvk -cert yourdomain.cert"`
*Replace `<SSL_PORT>` with the SSL port you set in Sonarr.*
3. Skip the importing step below as the pvk and cert have already been imported