Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat ssl servlet to servlet, private CA

Reply
Thread Tools

Tomcat ssl servlet to servlet, private CA

 
 
edavid3001@gmail.com
Guest
Posts: n/a
 
      10-06-2005
I have two machines I want to get to talk to each other.

Both are running Tomcat. Both are running servlets.

What does work:
The servlet on the source machine connects to port 80 http on my
Stunnel box, which encrypts the data, sends it to port 443 on the same
box. port 443 is another Stunnel. It decrypts and sends the data to
port 80 on the destination http Tomcat box.

That works fine.

Now I want to switch it to HTTPS from the servelt on the source machine
to the Stunnel box port 443, which will redirect to port 80 on the
destination http Tomcat box.

The error in STunnel is as shown;

SSL_accept: 14094416: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3
alert certificate unknown


One thing to mention is that I did not get the certificate from
Verisign or Thawte. It was generated in OpenSSL by myself. Also, the
Servlet connects to https://ipaddress of server not by the name
on the certificate.

Any suggestions? (I am not a Java programmer, but I have to get this
software working.)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
seeking servlet "Master" keep getting "Master/servlet/Master" not found. Tomcat 5.0.25 Doug McCann Java 1 08-05-2004 09:16 PM
Tomcat SSL servlet David G. Folch Java 3 05-07-2004 07:35 PM
Servlet question(Tomcat, web.xml, servlet-class, servlet-name) circuit_breaker Java 2 04-04-2004 03:26 AM
Should 'public virtual' always become 'private virtual'? & using private inheritance qazmlp C++ 19 02-04-2004 12:37 AM
Tomcat: POST from one servlet or internal class to another servlet Sean Clarke Java 1 01-07-2004 02:22 PM



Advertisments