Hi,

I am using 0.9.8d. I am getting the following error when verifying a cert:

#0  0xb7b163ab in X509_policy_check (ptree=0xbfffd310,
pexplicit_policy=0xbfffd314,
    certs=0x81c0f58, policy_oids=0x0, flags=172) at pcy_tree.c:313
313     pcy_tree.c: No such file or directory.
        in pcy_tree.c
(gdb) bt
#0  0xb7b163ab in X509_policy_check (ptree=0xbfffd310,
pexplicit_policy=0xbfffd314,
    certs=0x81c0f58, policy_oids=0x0, flags=172) at pcy_tree.c:313
#1  0xb7b03464 in check_policy (ctx=0xbfffd2c0) at x509_vfy.c:849
#2  0xb7b047b0 in X509_verify_cert (ctx=0xbfffd2c0) at x509_vfy.c:317
#3  0xb7d3f2c6 in ssl_verify_cert_chain (s=0x8631f18, sk=0x81cc000)
    at ssl_cert.c:532


Not sure if this is a certificate problem or openssl lib problem. In
the certificate, there is a certificate policy like this:

[1]Certificate Policy:
  Policy Identifier=1.3.6.1.4.1.6646.114176.37.1.1.1.2
  [1,1]Policy Qualifier Info
    Policy Qualifier Id=CPS
    Qualifier:
       http://pki.mycompany.com/policy
[2]Certificate Policy:
   Policy Identifier=All issuance policies

Any advice would be appreciated.

-wenwu
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to