Coac/cryptopia.js

UNABLE_TO_VERIFY_LEAF_SIGNATURE

useo6 opened this issue · 3 comments

useo6 commented

The package isn't working for me anymore since yesterday. It always tells me "UNABLE_TO_VERIFY_LEAF_SIGNATURE" / "Unable to verify the first certificate". I think it's necessary to add a parameter to the Cryptopia-constructor to set Cryptopia's crt file for https connections.

Coac commented

I just tested on public endpoints and some private, it's working well for me. I cannot reproduce your error.
What endpoint did you use to get this error ?

useo6 commented

I finally figured out that it was necessary to install the cryptopia crt-files using the 'ssl-root-cas' package. This solved the problem...

Coac commented

Good to hear you solved it 😃