• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLConnection and HTTPS and JSSE and OpenSSL

 
achana chan
Ranch Hand
Posts: 277
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dirk, I don't know where this message belongs...
Environment : Tomcat4 + Apache2 + j2sdk1.4
I use java http-tunneling over RMI, and throughout the coding process, I made sure I used URLConnection rather than HttpURLConnection because I knew we will have to go through Apache+mod_ssl to talk to OpenSSL when going back to the client browsers.
I switched on tcpdump to test the final product.
Normal http messages going back are encrypted.
Data coming back from Tomcat and going through https (ie port 443) are not *well* encrypted - some fields are in plain text.
As I understand it, j2sdk1.4 comes with JSSE and it can handle https and encryption.
Obviously, I have either misunderstood or I have done something wrong if I can see plain text.
Some explanation and guidance would be good...
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to The Sockets and Internet Protocols Forum...
[ August 15, 2003: Message edited by: Dirk Schreckmann ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic