couchbase_lite icon indicating copy to clipboard operation
couchbase_lite copied to clipboard

nil certificate key

Open juandiago opened this issue 6 years ago • 2 comments

First of all, thanks for this great piece of code.

Now, any idea why I'm always getting a "nil" lookupkey when trying to access the cert asset??

Again awesome work from you guys.

juandiago avatar Sep 30 '19 23:09 juandiago

I ended up not needing this functionality, but here's what I found for future reference:

The mRegistrar member is always nil in the lookupKey function, so all invocations return nil also:

func lookupKey(forAsset assetKey: String) -> String? { return mRegistrar?.lookupKey(forAsset: assetKey) }

juandiago avatar Oct 01 '19 14:10 juandiago

You should only need the certificate for self signed certificates. I will look into this though.

bawelter avatar Oct 02 '19 17:10 bawelter