[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    [Dev] disabling  SSL for the connexion pool in SP EI-6.4
From:       Bernard Paris <bernard.paris () uclouvain ! be>
Date:       2019-02-18 16:48:16
Message-ID: F57E700D-102B-492E-9294-F5D3E3611FE6 () uclouvain ! be
[Download RAW message or body]

Hello,

I follow the documentation at
https://docs.wso2.com/display/SP430/Configuring+Datasources
to configure mySql  for our datasources with StreamProcessor (Analytics wor=
ker in wso2 EI-6.4).

I get this SSL error on SP startup.  Is it possible to disable  SSL for the=
 connexion pool ? how to do that ?

Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: unkno=
wn_ca
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
        at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
        at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2020=
)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:112=
7)
        at sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1=
761)
        at sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.jav=
a:124)
        at sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java=
:1152)
        at sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(Clie=
ntHandshaker.java:1279)
        at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshak=
er.java:1189)
        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshake=
r.java:369)
        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
        at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:106=
4)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocket=
Impl.java:1367)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java=
:1395)
        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java=
:1379)
        at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(Expor=
tControlled.java:188)
        ... 34 more

Thanks
Bernard


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: \
after-white-space;" class=""> <div class="">Hello,</div>
<div class=""><br class="">
</div>
<div class="">I follow the documentation at&nbsp;</div>
<div class=""><a href="https://docs.wso2.com/display/SP430/Configuring&#43;Datasources" \
class="">https://docs.wso2.com/display/SP430/Configuring&#43;Datasources</a></div> \
<div class="">to configure mySql &nbsp;for our datasources with StreamProcessor \
(Analytics worker in wso2 EI-6.4).</div> <div class=""><br class="">
</div>
<div class="">I get this SSL error on SP startup. &nbsp;Is it possible to disable \
&nbsp;SSL for the connexion pool ? how to do that ?</div> <div class=""><br class="">
</div>
<div class="">
<div class="">Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: \
unknown_ca</div> <div class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.Alerts.getSSLException(Alerts.java:192)</div> <div class="">&nbsp; \
&nbsp; &nbsp; &nbsp; at \
sun.security.ssl.Alerts.getSSLException(Alerts.java:154)</div> <div class="">&nbsp; \
&nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2020)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1127)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1761)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:124)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1152)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1279)</div>
 <div class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1189)</div> \
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:369)</div> \
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.Handshaker.process_record(Handshaker.java:965)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)</div> \
<div class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)</div> <div \
class="">&nbsp; &nbsp; &nbsp; &nbsp; at \
com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:188)</div>
 <div class="">&nbsp; &nbsp; &nbsp; &nbsp; ... 34 more</div>
</div>
<div class=""><br class="">
</div>
<div class="">Thanks</div>
<div class="">Bernard</div>
<div class=""><br class="">
</div>
</body>
</html>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

--===============4125352158307131629==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic