[Simpleweb-Support] SSL
Brought to you by:
niallg
From: John <sc1...@gm...> - 2011-01-09 18:31:58
|
I've been playing around with the code posted here previously (which didn't compile on my machine, JDK 1.6, Simple 2.4.1, with missing classes, e.g., DebugLevel, Indexer, etc). I've posted it here (it's a kludge of the HelloWorld tutorial and the SSL code, and it's strictly amateur hour): http://www.scribd.com/HTTPSServer2/d/46557107 It compiles fine and runs without complaint, but when I try to actually *access* the HTTPS webserver I'm not able to connect (tried with Safari and Lynx): $ java -classpath .:simple-4.1.21.jar HTTPSServer2 & bound to: localhost:9090 $ time lynx -dump https://localhost:9090 Looking up localhost:9090 Making HTTPS connection to localhost:9090 Retrying connection without TLS. Looking up localhost:9090 Making HTTPS connection to localhost:9090 Alert!: Unable to make secure connection to remote host. lynx: Can't access startfile https://localhost:9090/ real 4m0.040s user 0m0.007s sys 0m0.011s |