># openssl x509 -hash -noout -in airrp.pem
>c89aa68b
It was a typo in the example given above. The input file was actually
called "mycert.pem", not "airrp.pem" as submitted earlier in the last
message. I didn't generate wrong hash of a different certificate :-)
The same problem still persists.
Cheers,
Kenneth
----- Original Message -----
From: "Kenneth Karoliussen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Kenneth Karoliussen" <[EMAIL PROTECTED]>
Sent: Friday, August 11, 2000 2:12 PM
Subject: "unable to get local issuer certificate" and stat of hash file error
I have a rather curious problem while performing a verify of a VeriSign signed
certificate.
# openssl x509 -hash -noout -in airrp.pem
c89aa68b
The link is directed towards the certificate file:
lrwxr-xr-x 1 root wheel 14 Aug 11 10:05 c89aa68b.0 -> mycert.pem
#openssl verify -verbose -CApath . mycert.pem
mycert.pem: /C=NO/ST=Norway/L=Risor/O=AISPAS/OU=Some Dept./CN=some.server.com
error 20 at 0 depth lookup:unable to get local issuer certificate
While debugging openssl verify the hash does not seem to corrospond to
what was generated by "x509 -hash";
Output from a trace system call program show a totally different hash:
<<
syscall stat("./58546a39.0",0xbfbfd484)
errno 2 'No such file or directory'
>>
Any obvious reason for the stat of the hash does not match with the x509 hash generated
output? I have tested this with other *self signed* certificates, and evidentily had
no problem with
the validations of these...
Cheers,
Kenneth
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]