This content has been marked as final. Show 6 replies
Make sure you are using the JSSE connector. In theory the APR/OpenSSL connector is 100% compatible but you have to deal with the openssl tool instead of the keytool and it all gets several times as complicated. If you follow all those instructions it does work.
You should also make sure you can browse to that HTTPS host:port with your browser.
thanks for the quick reply,
Actually i am not familiar with OpenSSL,can u just give some hints on certificate generation using openssl and its configuration with tomcat
I just told you not to use it.
Sorry, your duplicate posts got deleted, but obviously if you are still getting the SSL record too long there is some problem. But it isn't with your keystore setup. That would cause a different error.1 person found this helpful
Can you browse to the HTTPS host:port?
And what does your client code look like?
yes,i hav tried with -- https://localhost:8443
but i am getting the above error (Error code: ssl_error_rx_record_too_long) instead of SSL home page in the browser
I haven't used any client code here.
I am currently trying to enable "https " by
1.creating the certificate using keytool command in java
2.configuring the server.xml file in the tomcat server
as per the tomcat tutorial succesful completion of above 2 steps will provide a SSL home page in the browser when we access with https://localhost:8443
but i didn't get that
You got that error with the browser too? So it is a server side error?
And what does your client code look like again?
And is this an SSLv2 server by any chance?