Thanks for all the reply. One point to note is that my
path contain only one file/cert, say file.pem. And I
have verified that this cert works, using:
_load_verify_locations(ctx,"c:\\path\\file.pem",NULL).
However, _(ctx,NULL,"c:\\path\\") does not work.

Do you think it is the rehash problem that you are
discussing?

Thanks alot!

Glenn

> 
> I have a trusted cert, say "c:\path\file.pem" on
> Windows FAT32. Using
> SSL_CTX_load_verify_locations
> (ctx,"c:\\path\\file.pem",NULL),
> I managed to verify the peer cert correctly.
>  
> However, using
>
SSL_CTX_load_verify_locations(ctx,NULL,"c:\\path\\"),
> the verification failed. There is only one file in
> that folder. 
>
> May I know how should I make the path works? Thanks!
> 

--- Oscar Jacobsson <[EMAIL PROTECTED]> wrote:
> Dr S N Henson wrote:
> > Only problem is that this is on Windows and the
> standard c_rehash wont
> > work.
> 
> Actually, after looking at the c_rehash code, and
> removing the (IMHO quite
> redundant) stuff that sifts through the path and
> tries to find the openssl
> command, it works just fine on windows, using
> standard file copies instead of
> soft links.
> 
> //oscar


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to