Hi guys,
I have set up a server which listens for https connections. 
When my only client sends any message, I get this exception (client-
side):
java.net.SocketException: Software caused connection abort: recv 
failed

Please does anyone know about this error?
Here is how I generated my certs:
[SERVER]
keytool -genkey -dname "CN=localhost, OU=NOT FOR PRODUCTION, O=Apache, 
ST=NY, C=US" -keystore server.jks -storetype jks -storepass server -
keypass server -alias hosting_servant -keyalg RSA

keytool -selfcert -alias hosting_servant -keystore server.jks -keypass 
server -storepass server

keytool -export -alias hosting_servant -file server.cer -keystore 
server.jks -storepass server  

keytool -import -v -trustcacerts -alias hosting_servant -file server.
cer -keystore cacerts.jks -keypass cacert -storepass cacert
[CLIENT]
keytool -genkey -alias dashboard_servant -keyalg RSA -keypass client -
storepass client -keystore client.jks -dname "CN=dashboard_servant, 
OU=NOT FOR PRODUCTION, O=Apache, ST=NY, C=US"

keytool -selfcert -alias dashboard_servant -keystore client.jks -
keypass client -storepass client

keytool -export -alias dashboard_servant -storepass client -file 
client.cer -keystore client.jks

keytool -import -v -trustcacerts -alias dashboard_servant -file client.
cer -keystore cacerts.jks -keypass cacert -storepass cacert

Then i add my two certs into java_home/lib/security/cacerts

Any suggestions?
Thanks



______________________________________________

Voce Senza Limiti: chiama in tutta Italia a 0 cent. SOLO 9,90 EURO AL MESE fino 
al 27/03/08!
http://abbonati.tiscali.it/promo/vocesenzalimiti_2603/

Reply via email to