ERROR 0x8f00040: Load certificate from system store - not found root or intermediate certificate in system store

Hi,
We are trying to use KalkanCryptTest_CSharp project to understand how we should sign the data. If I install test certificates and try to call “Check Cert” with test OCSP ( http://test.pki.gov.kz/ocsp/ ) it works fine but when i try to run it with бой certificates and live OCSP ( http://ocsp.pki.gov.kz/ ) it returns error:
"ERROR 0x8f00040: Load certificate from system store - not found root or intermediate certificate in system store. "
We are using version 2.7.0.0

I can only attach one screenshot so i combined three into one:

Can you point me to the right direction of what is wrong ?

Regards,
Michal

I can’t edit the post so below I’m posting links to my screenshots:
ibb.co/cQzVNPK
ibb.co/C7nXJ8Z
ibb.co/tBcPvbd

Hi!

Install the live root certificates And then the verification should be successful.
Root download links:

root_rsa.crt
root_gost.crt
nca_rsa.crt
nca_gost.crt

Hi,

Thanks for your response. I have installed these certificates but it doesn’t help.
image

One thing i noticed is the app is setting alias to “test”. I tried to change it to null/empty/“root” but none of the cases worked
image

Which certificate are you checking? Test from SDK or live your personal certificate?

This parameter does not affect anything. You can leave “test” or null

Which certificate are you checking? Test from SDK or live your personal certificate?

This parameter does not affect anything. You can leave “test” or null

Hi Danil,

I am trying with a test personal certificate from SDK. Is that not going to work (i.e. I need to have my live personal certificate ) ?

Regards,
Michal

If you are using test certs from the SDK, then you need to install test root certificates. The SDK 2.0\Keys and Certs\CA CERTS\test directory has these test roots that you need.

Ok, now it’s more clear to me.
Thank you for your help !