HTTPS instead of normal HTTP

Linux specific questions, problems.
Post Reply
interf@ce

HTTPS instead of normal HTTP

Post by interf@ce »

Hello Dear Qbittorrent Fans

I love my Qbitorrent i think it is the best client out there. Im running it on a Ubuntu 10.04 Server, in version 2.9.7 as a deamon (without X Server). I use it also to access it from the internet, but i think normal http is just a little to unsecure. In the Setting on the gui you can make it use https instead of normal http. But how do i have to setup the encryption? I have created a self-signed certificate with openSSL wich i want to use. So now i have the server.key and the server.csr. In the qbittorrent GUI there are only to gaps so one for the private key and one for the certificate. So what do I have to fill in?
Is there a tutorial about that?

Thank you for your help.

Greetz
Last edited by interf@ce on Thu Oct 18, 2012 9:20 am, edited 1 time in total.
loki

Re: HTTPS instead of normal HTTP

Post by loki »

The link on the config page points to a 404... so problem there... I suppose you can reference 2.0 or 2.2 for the same section of info from Apache. I think it's exactly the same across all.
http://httpd.apache.org/docs/2.0/ssl/ss ... aboutcerts
http://httpd.apache.org/docs/2.2/ssl/ss ... aboutcerts

My very brief read through that section leads me to believe you need a .key and a .crt, you place/point to those files in the two corresponding boxes.
If you need it from openssl you may have to read their documentation on how to create key and crt, not csr.
interf@ce

Re: HTTPS instead of normal HTTP

Post by interf@ce »

Thanks but i already have a server.key and server.csr. It works in normal Apache. If i put the contents of the server.key and server.csr in the gaps of the GUI Settings i get the following error:
HTTP/1.1 401 Unauthorized

And i am not able to access it anymore.

Does qbittorrent run with a normal Apache? If yes where are it's files stored?
And how do i get my qbittorrent-nox working again?

Thanks in advance
loki

Re: HTTPS instead of normal HTTP

Post by loki »

Did you even read that you need a .crt not a .csr...?

I'm thinking it uses openssl, I cannot help any further because I just don't know.
Post Reply