Sorry for the spam, I've posted it early on help forum
Hi,
I've a client stub from WS (https client:
https://sisvel.sp.san.gva.es/sisvelWs/WsIntegraMatepss?wsdl [1])
With 3.0.1 I've not problem, but with 3.1 I've this error:
*javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate*
To install the certificate on trusted CA, I've do this:
openssl s_client -connect sisvel.sp.san.gva.es:https
With this I've create a .pem file lilke this:
-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
After that, I import it to glassfish:
keytool -import -alias sisvel_produccion -keystore
/opt/glassfish/glassfish/domains/kyrian/config/cacerts.jks -file
/opt/proyectos/WsIntegraMatepssSolicitarCasos/lib/certificado_produccion.pem
What I'm doing wrong with glassfish 3.1
[1]
../../../../../../external?url=
https://sisvel.sp.san.gva.es/sisvelWs/WsIntegraMatepss?wsdl
--
[Message sent by forum member 'matienzar77']
View Post: http://forums.java.net/node/793178