|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Webserver SSL Help
I may be a little dense here but I need to figure this part out. I have been very pleased with the webserver and now I want to access it from work via SSL. I have created and stored the key without a problem. I have enabled SSL and changed the port in the sage.properties. However the following is what I'm stumped on for some reason:
Set the property nielm/webserver/ssl_args= with arguments from the following list -keystoreFile (default %HOME%/.keystore -keystorePass (default 123456) -keystoreType (default JKS) -algorithm (default SunX509) -clientAuth (default false) -port (default 8443) -protocol (default TLS) -backlog (default 1000) -ifaddress (default none) I know this goes in sage.properties but what is the format if I wanted to use keystorepass,keystorefile? Just a quick example would help me a ton. Sorry if I'm missing the obvious. Last edited by DynamoBen; 12-28-2004 at 02:57 PM. |
#2
|
|||
|
|||
After much trial and error I got it to work.
|
#3
|
||||
|
||||
Quote:
Terry
__________________
Terry -- My Computer Tips site, coffee site, home theater site Case Lian Li PC-A71F, Motherboard Gigabyte GA-P55-UD4P, CPU Intel Core i7-860, RAM 8 GB, Encoders 2 Hauppauge HVR-2250's, VideoCard PowerCooler AX4350, OS Windows 7 Pro, SageTV 6.6.2, SageTV Media Extender, SageTV Client, SageTV PlaceShifter, Sage Webserver. |
#4
|
|||
|
|||
As my first message described I was stumped on how ssl_args line and its format. I discovered that is looks like this when used with anything other then defaults:
nielm/webserver/ssl_args=-keystorePass 654321 -port 443 (no ; between arguments) In addition, I was trying to specific a location for the .keystore however anything beyond one folder would be unrecognized. When I went into sage properties the \ would be removed after the first directory. (still not sure why) After trying and trying I discovered that my .keystore was actually in the default (%HOME%) directory and I didn't need to use that argument. Problem solved and working great. Last edited by DynamoBen; 12-29-2004 at 11:20 PM. |
#5
|
||||
|
||||
Ben,
I'm still confused. When I run the key program, it stores the .keystore file in the c:\documents and settings\mediaserver directory. nielm says that you need to move it to the %HOME% directory. What is that??? I've tried to put it in the webserver directory under sage, I've tried putting it in the \webserver\sage directory, but it will not work. Any ideas? Thanks, Stacy Quote:
|
#6
|
|||
|
|||
The actual directory varies from computer to computer. Mine was located in documents and settings also. It usally places it in the folder for the account your currently logged into. In your case that would be "media server." For you this is your %Home% directory. Things should work fine without having to relocate the file.
|
#7
|
|||
|
|||
Have you got SSL working??
Hi I have noticed that people do seem to have SSL working with the webserver, but I'm well and truly stuck. I have followed the twiki document created, and still can not get the webserver to use ssl. In fact with SSL enabled in the properties file, the web server does not output a log with any debug details. The only thing I am doing differently is that I am using JRE 1.5 not 1.4, would this be a big problem??
Any help would be appreciated. Thanks Ron.
__________________
* Central Server: Windows 2003 R2 x64 (Virtualised) | Quad CPU | 4096 MB ram | StorageTek Array | 30TB Storage * Encoder 1: HP Micro server | Windows 2003 x32 | Dual CPU | 4096 MB ram | 1x Hauppauge PVR 500 | 1x HDPVR * Encoder 2 HP Micro server | Windows 2003 x32 | Dual CPU | 4096MB ram | 1x Hauppauge PVR 250 (VCR) | 1x Hauppauge Nova-T 500 * 2x Hauppage HD2000 | 2x SageTV Client |SageTV 7. |
#8
|
||||
|
||||
If you don't end up getting it working, I have a workaround you might be interested in. You can install a freeware program called stunnel on your sagetv server that will take SSL encrypted connections and forward them unencrypted to the webserver app.
http://forums.sagetv.com/forums/show...2&postcount=70
__________________
Server - SageTV 7, Windows 7 Pro, i3 2100t ITX custom system, 8gb RAM, HDHR-3 Tuners (3) Extender Clients - HD300 on 46" LED and HD200 on 27" LCD |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|