Hi Bernard,

You can add MySQL connection tag as follows,
*jdbc:mysql://localhost:3306/Test?useSSL=false,* to disable SSL connection
to the DB.[1]



[1] https://stackoverflow.com/a/34449182/4027644


Best Regards,
*Niveathika Rajendran,*
*Senior Software Engineer.*
*Mobile : +94 077 903 7536*





On Mon, Feb 18, 2019 at 10:18 PM Bernard Paris <[email protected]>
wrote:

> Hello,
>
> I follow the documentation at
> https://docs.wso2.com/display/SP430/Configuring+Datasources
> to configure mySql  for our datasources with StreamProcessor (Analytics
> worker 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:
> unknown_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:1127)
>         at
> sun.security.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1761)
>         at
> sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:124)
>         at
> sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1152)
>         at
> sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1279)
>         at
> sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1189)
>         at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.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:1064)
>         at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.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(ExportControlled.java:188)
>         ... 34 more
>
> Thanks
> Bernard
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to