question

perusoffers avatar image
perusoffers asked perusoffers published

Clover Mini DevKit Factory Reset (CertificateNotYetValidException) Unable to sync time

I am trying to factory reset my clover mini dev kit, it went past the network setup stage. While downloading the update it says download interrupted. Any idea why this is happening.

looks like from the error below it is a time sync issue.

I connected via adb logcat and see the following error

W/System.err( 1432): javax.net.ssl.SSLHandshakeException: com.android.org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: null
W/System.err( 1432):    at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:410)
W/System.err( 1432):    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:329)
W/System.err( 1432):    at com.clover.http.CloverSSLSocketFactory.connectSocket(CloverSSLSocketFactory.java:93)
W/System.err( 1432):    at com.clover.http.CloverClientConnectionOperator.openConnection(CloverClientConnectionOperator.java:106)
W/System.err( 1432):    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/System.err( 1432):    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/System.err( 1432):    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
W/System.err( 1432):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/System.err( 1432):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/System.err( 1432):    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
W/System.err( 1432):    at com.clover.http.DeviceHttpClient.execute(DeviceHttpClient.java:328)
W/System.err( 1432):    at com.clover.http.CloverRequester.post(CloverRequester.java:126)
W/System.err( 1432):    at com.clover.http.CloverRequester.post(CloverRequester.java:109)
W/System.err( 1432):    at com.clover.android.setupwizard.CloverRequests.registerDevice(CloverRequests.java:503)
W/System.err( 1432):    at com.clover.android.setupwizard.CloverRequests.getCloverRequester(CloverRequests.java:397)
W/System.err( 1432):    at com.clover.android.setupwizard.CloverRequests.getMerchantInfo(CloverRequests.java:64)
W/System.err( 1432):    at com.clover.android.setupwizard.DeviceMerchantInfo.get(DeviceMerchantInfo.java:39)
W/System.err( 1432):    at com.clover.android.setupwizard.activities.WelcomeActivity$GetMerchantNameTask.doInBackground(WelcomeActivity.java:118)
W/System.err( 1432):    at com.clover.android.setupwizard.activities.WelcomeActivity$GetMerchantNameTask.doInBackground(WelcomeActivity.java:112)
W/System.err( 1432):    at android.os.AsyncTask$2.call(AsyncTask.java:288)
W/System.err( 1432):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
W/System.err( 1432):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
W/System.err( 1432):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
W/System.err( 1432):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
W/System.err( 1432):    at java.lang.Thread.run(Thread.java:841)
W/System.err( 1432): Caused by: java.security.cert.CertificateException: com.android.org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: null
W/System.err( 1432):    at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:308)
W/System.err( 1432):    at com.android.org.conscrypt.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:202)
W/System.err( 1432):    at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:612)
W/System.err( 1432):    at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err( 1432):    at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:406)
W/System.err( 1432):    ... 24 more
W/System.err( 1432): Caused by: com.android.org.bouncycastle.jce.exception.ExtCertPathValidatorException: Could not validate certificate: null
W/System.err( 1432):    at com.android.org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(RFC3280CertPathUtilities.java:1492)
W/System.err( 1432):    at com.android.org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(PKIXCertPathValidatorSpi.java:305)
W/System.err( 1432):    at java.security.cert.CertPathValidator.validate(CertPathValidator.java:190)
W/System.err( 1432):    at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:295)
W/System.err( 1432):    ... 28 more
W/System.err( 1432): Caused by: java.security.cert.CertificateNotYetValidException
W/System.err( 1432):    at com.android.org.conscrypt.OpenSSLX509Certificate.checkValidity(OpenSSLX509Certificate.java:216)
W/System.err( 1432):    at com.android.org.bouncycastle.jce.provider.RFC3280CertPathUtilities.processCertA(RFC3280CertPathUtilities.java:1483)
W/System.err( 1432):    ... 31 more
DevKit
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community