[openssl-users] OpenSSL 'verify' command and c_ rehash script on Cygwin

Deepak dpb795795 at gmail.com
Sun Feb 1 19:37:47 UTC 2015


---------- Forwarded message ----------
From: "Deepak" <dpb795795 at gmail.com>
Date: Jan 31, 2015 8:05 AM
Subject: OpenSSL 'verify' command and c_ rehash script on Cygwin
To: <openssl-users at openssl.org>
Cc:

Hi,

Can following behaviour be confirmed as expected?

OpenSSL verify test (test_verify) fails

Env-
c_rehash run using Cygwin. Run c_rehash on /path/to/certs/demo

Cmd -
openssl verify -CApath ../certs/demo ../certs/demo/*.pem

Cause -
Symbolic links (from hash.0 to file.pem) created by c_rehash when run with
Cygwin could not be read by OpenSSL.exe verify command.

Result -
Error 20: could read issuer certificate
OpenSSL.exe fails to establish certificate chain.

Workaround -
Modify c_rehash to use  MS API 'mklink'

Thank You.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20150202/bebb4da7/attachment-0001.html>


More information about the openssl-users mailing list