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

Deepak dpb795795 at gmail.com
Sat Jan 31 02:35:34 UTC 2015


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.


More information about the openssl-users mailing list