java - Andriod OS 4.4.2 fails connecting to MobileFirst server after TLS 1.2 enabled -


we have mobile hybrid project running on mobilefirst 7.1.0.00.20170627-0807.

android versions 4.4.2 , earlier cannot connect server using https if tls 1.2 enabled

getting below clients logs while connecting worklight server.

     07-25 06:13:06.236: w/system.err(4251): javax.net.ssl.sslpeerunverifiedexception: no peer certificate 07-25 06:13:06.236: w/system.err(4251):     @ com.android.org.conscrypt.sslsessionimpl.getpeercertificates(sslsessionimpl.java:146) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.conn.ssl.abstractverifier.verify(abstractverifier.java:93) 07-25 06:13:06.236: w/system.err(4251):     @ com.worklight.wlclient.certificatepinning.hostnameverifierwithcertificatepinning.verify(hostnameverifierwithcertificatepinning.java:42) 07-25 06:13:06.236: w/system.err(4251):     @ com.worklight.wlclient.tlssnienabledsocketfactory.createsocket(tlssnienabledsocketfactory.java:94) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.conn.defaultclientconnectionoperator.openconnection(defaultclientconnectionoperator.java:165) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.conn.abstractpoolentry.open(abstractpoolentry.java:164) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.conn.abstractpooledconnadapter.open(abstractpooledconnadapter.java:119) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.client.defaultrequestdirector.execute(defaultrequestdirector.java:360) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:555) 07-25 06:13:06.236: w/system.err(4251):     @ org.apache.http.impl.client.abstracthttpclient.execute(abstracthttpclient.java:487) 07-25 06:13:06.236: w/system.err(4251):     @ com.worklight.wlclient.wlrequestsender.run(wlrequestsender.java:47) 07-25 06:13:06.236: w/system.err(4251):     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1112) 07-25 06:13:06.236: w/system.err(4251):     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:587) 07-25 06:13:06.236: w/system.err(4251):     @ java.lang.thread.run(thread.java:841) 07-25 06:13:06.316: d/wl.certmanager(4251): wlcertmanager.clearkeystore in wlcertmanager.java:262 :: key store cleared. 07-25 06:13:06.636: d/wl.certmanager(4251): wlcertmanager.clearkeystore in wlcertmanager.java:262 :: key store cleared. 07-25 06:13:06.666: w/pluginmanager(4251): thread warning: exec() call wlauthorizationmanagerplugin.getclientinstanceidheader blocked main thread 26ms. plugin should use cordovainterface.getthreadpool().

we using mobilefirst ifix has client sdk tls1.2 support. need change @ client/server side?


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -