[FIXED] Verify certificate in android by boost failed

Issue

I know that default path of certificates in android(maybe many devices) is /system/etc/security/cacerts , When I check the folder’s contents I found that has *.0 files (too many files).

1- boost can detect this folder by default? (set_default_verify_paths) or I should add_verify_path this folder?

2- I used explicit path (by adding path that has mentioned in question 1) , but it give me error(exception):

handshake: certificate verify failed

Solution

I found that the problem was in low level of codes …

Methods on file name hashing was different in android vs openssl!

Answered By – H.M

Answer Checked By – Marie Seifert (Easybugfix Admin)

Leave a Reply

(*) Required, Your email will not be published