Page 1 of 1

[BUG]/[SUGGESTION] WebUI SSL, WebUI autostart, Template

Posted: Thu Aug 28, 2008 12:09 am
by r0ckarong
Please keep up the great work, I just updated from 0.5.9.3 to 0.9.08 and I really like what you guys did so far. But I got three questions on my mind:

First: Is it just me or does the SSL authentication no longer work?
I get an error in Firefox 3 saying "Error code: ssl_error_rx_record_too_long" when I try to connect to the WebUI via secure connection.
Browsing the web I found this: Definition for ssl error rx record too long. All other SSL sites I use work perfectly. Is there something wrong with the SSL implementation in the current 0.9.08 build WebUI?

Second thing is: Is there a way to have deluge start with the Web UI enabled? Usually I used to do this through the plugin but since that doesn't exist anymore how should I do it? Right now I have to manually start a "deluge --ui web" every time I want to use it. Will there be an option for that in the future?

And the third thing: I think the new template looks great but could you force the background color to white? I use a grey background on my setup because I use a dark theme and the white template is more like a grey template with white menu elements on it. If you would force the background color to white through the code it would look identical on all systems. Just a suggestion.

Thanks for the best torrent tool I used so far.

Re: [BUG]/[SUGGESTION] WebUI SSL, WebUI autostart, Template

Posted: Fri Aug 29, 2008 7:04 pm
by mvoncken
r0ckarong wrote: First: Is it just me or does the SSL authentication no longer work?
SSL is not implemented for deluge 1.0.
I got far too many bug reports on the self-signed certificates i used.
i would gladly accept a patch that creates good SSL certificates automatically or solves that problem in another way.
Until then: use apache integration: http://forum.deluge-torrent.org/viewtop ... he2#p18985
Second thing is: Is there a way to have deluge start with the Web UI enabled? Usually I used to do this through the plugin but since that doesn't exist anymore how should I do it? Right now I have to manually start a "deluge --ui web" every time I want to use it. Will there be an option for that in the future?
The webui is a separate ui and has to be started like that. But ... because we do have the classic mode that hides the different processes i can imagine we would add an option (or plugin) for that.
And the third thing: I think the new template looks great but could you force the background color to white? I use a grey background on my setup because I use a dark theme and the white template is more like a grey template with white menu elements on it. If you would force the background color to white through the code it would look identical on all systems. Just a suggestion.
Noted.
Thanks for the best torrent tool I used so far.
You're welcome.

Re: [BUG]/[SUGGESTION] WebUI SSL, WebUI autostart, Template

Posted: Sun Aug 31, 2008 8:25 am
by silverdulcet
SSL is not implemented for deluge 1.0.
I got far too many bug reports on the self-signed certificates i used.
i would gladly accept a patch that creates good SSL certificates automatically or solves that problem in another way.
Until then: use apache integration: viewtopic.php?f=8&t=4075&p=18985&hilit=apache2#p18985
Could you not just point people to the Deluge FAQ regarding self-signed certs? There wasn't really a problem with the way you had it implemented in 5.x versions. The certs you included were just to make sure it worked to begin with. Anyone who requires SSL should realize that using the default certs is not secure, and that you can't supply certs that are tailored to their system anyway. If people don't realize this or refuse to read up on it then they shouldn't be using the SSL option.

There are a glut of how-to's for just about any distro/operating system on how to generate self-signed certs. The FAQ already has an entry that explains where put them once they have them generated.

I'd volunteer to just link them to the FAQ and try to assist them if any questions come up.