docker-filezilla icon indicating copy to clipboard operation
docker-filezilla copied to clipboard

Setting Up HTTPS

Open bt0070069 opened this issue 2 years ago • 4 comments

Hello,

I am currently using both the FileZilla and Handbrake containers on a Synology Diskstation, but I can't seem to get the https working. I followed the readme's steps by placing the certificate files in the /config/certs directory, but I can't get it to work.

I don't really know much about certificates. I exported my synology certificate and there are 6 files: ECC-cert.pem, ECC-chain.pem, ECC-privkey.pem, RSA-cert.pem, RSA-chain.pem, & RSA-privkey.pem. I tried placing these in the /config/certs folder, but I still get a warning that the connection is using a self-signed certificate.

I also tried renaming just the ECC files to the what the default certificates in the /config/certs directory were named (and replacing the originals), but that didn't work, I then tried to delete the original default certificates in the /config/certs directory and just placing synology's .pem files, but that didn't work either.

Side note: I was able to get a docker container of Jellyfin working using https this morning after figuring out how to convert PEM files to a PKCS #12 file by opening a terminal in ubuntu and typing the following: openssl pkcs12 -inkey ECC-privkey.pem -in ECC-cert.pem -export -out ecc-pfx.pfx

Are you able to assist me in figuring out how to use, or convert my synology certificates into something that the containers will accept?

Thank you very much for any assistance you can provide.

bt0070069 avatar Jan 18 '22 18:01 bt0070069

I still get a warning that the connection is using a self-signed certificate

Did you check from the browser the certificate to make sure it's not the one you installed ? Do you access the container using a URL that matches the installed certificate ?

jlesage avatar May 30 '22 13:05 jlesage

Here is what the certificate view is like from Firefox (attached). The Synology diskstation takes care of the certificate (I use the url provided by synology for remote access). I imported the certicate from synology to Jellyfin's docker container, and it works, but it does not work with with Handbrake.

On Mon, 30 May 2022 at 09:58, Jocelyn Le Sage @.***> wrote:

I still get a warning that the connection is using a self-signed certificate

Did you check from the browser the certificate to make sure it's not the one you installed ? Do you access the container using a URL that matches the installed certificate ?

— Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-filezilla/issues/33#issuecomment-1141191934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXLQ23I5QHHYR6MZJYQPX7LVMTCSBANCNFSM5MH4NNJQ . You are receiving this because you authored the thread.Message ID: @.***>

bt0070069 avatar Jun 03 '22 00:06 bt0070069

Attachments are not working via email. You need to use the Github web interface.

jlesage avatar Jun 06 '22 21:06 jlesage

I have attached images of the Firefox error message, the certificate details, the default certificates included with the handbrake docker container, and the exported certificates from my Synology NAS.

I tried simply placing the certifactes in the same directory that the default handbrake certificates were in, but that didn't work. I then tried deleting the default certificates, and placing the exported synology certificates in the handbrake certificate directory, but the default handbrake certificates show back up eventually. Certificate Info Firefox Warning List of Certificates Exported from Synology Diskstation List of Default Certificates in Handbrake

bt0070069 avatar Jun 07 '22 12:06 bt0070069