Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
2.8.0
-
Security Level: Public
-
None
-
JAK 61
-
3
Description
[Only on Android] when we start the p2p url listener with tls seeing the below exception.
But Url listener starts fine and able to access the listener
|
W/KeyStore: KeyStore exception
|
android.os.ServiceSpecificException: (code 7)
|
at android.os.Parcel.createException(Parcel.java:1956)
|
at android.os.Parcel.readException(Parcel.java:1910)
|
at android.os.Parcel.readException(Parcel.java:1860)
|
at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786)
|
at android.security.KeyStore.get(KeyStore.java:195)
|
at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificateChain(AndroidKeyStoreSpi.java:118)
|
at java.security.KeyStore.getCertificateChain(KeyStore.java:1087)
|
at com.couchbase.lite.internal.KeyStoreManager.getCertificates(KeyStoreManager.java:258)
|
at com.couchbase.lite.internal.KeyStoreManagerDelegate.getCertificateChain(KeyStoreManagerDelegate.java:161)
|
at com.couchbase.lite.TLSIdentity.getIdentity(TLSIdentity.java:59)
|
at com.couchbase.lite.TLSIdentity.getAnonymousIdentity(TLSIdentity.java:168)
|
at com.couchbase.lite.URLEndpointListener.startLocked(URLEndpointListener.java:195)
|
at com.couchbase.lite.URLEndpointListener.start(URLEndpointListener.java:140)
|
at com.couchbase.mobiletestkit.javacommon.RequestHandler.PeerToPeerRequestHandler.serverStart(PeerToPeerRequestHandler.java:294)
|
at java.lang.reflect.Method.invoke(Native Method)
|
at com.couchbase.mobiletestkit.javacommon.RequestHandlerDispatcher.handle(RequestHandlerDispatcher.java:133)
|
at com.couchbase.mobiletestkit.javalistener.Server.handle(Server.java:128)
|
at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418)
|
at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)
|
at java.lang.Thread.run(Thread.java:764)
|
W/KeyStore: KeyStore exception
|
android.os.ServiceSpecificException: (code 7)
|
at android.os.Parcel.createException(Parcel.java:1956)
|
at android.os.Parcel.readException(Parcel.java:1910)
|
at android.os.Parcel.readException(Parcel.java:1860)
|
at android.security.IKeystoreService$Stub$Proxy.get(IKeystoreService.java:786)
|
at android.security.KeyStore.get(KeyStore.java:195)
|
at android.security.keystore.AndroidKeyStoreSpi.engineGetCertificateChain(AndroidKeyStoreSpi.java:118)
|
at java.security.KeyStoreSpi.engineGetEntry(KeyStoreSpi.java:484)
|
at java.security.KeyStore.getEntry(KeyStore.java:1560)
|
at com.couchbase.lite.internal.KeyStoreManager.getPrivateKey(KeyStoreManager.java:235)
|
at com.couchbase.lite.internal.KeyStoreManagerDelegate.getKey(KeyStoreManagerDelegate.java:153)
|
at com.couchbase.lite.TLSIdentity.getIdentity(TLSIdentity.java:65)
|
at com.couchbase.lite.TLSIdentity.getAnonymousIdentity(TLSIdentity.java:168)
|
at com.couchbase.lite.URLEndpointListener.startLocked(URLEndpointListener.java:195)
|
at com.couchbase.lite.URLEndpointListener.start(URLEndpointListener.java:140)
|
at com.couchbase.mobiletestkit.javacommon.RequestHandler.PeerToPeerRequestHandler.serverStart(PeerToPeerRequestHandler.java:294)
|
at java.lang.reflect.Method.invoke(Native Method)
|
at com.couchbase.mobiletestkit.javacommon.RequestHandlerDispatcher.handle(RequestHandlerDispatcher.java:133)
|
at com.couchbase.mobiletestkit.javalistener.Server.handle(Server.java:128)
|
at org.nanohttpd.protocols.http.HTTPSession.execute(HTTPSession.java:418)
|
at org.nanohttpd.protocols.http.ClientHandler.run(ClientHandler.java:75)
|
at java.lang.Thread.run(Thread.java:764)
|
Attachments
Issue Links
- is duplicated by
-
CBL-1322 android:p2p:createIdentity api is throwing keystore exception
- Closed