Hi!

> Now I would like to write a C program doing the same. For this, I used
> Viega and Messier's Secure Programming Cookbook, recipe 10.5 (BTW, I
> am not sure the workaround they propose there is still necessary with
> latest versions of openssl any hint welcome).


I used the example code from the book Network Security with OpenSSL
(www.opensslbook.com); they had example code on generating csrs,
signing them, using one's own CA, verifying certs, etc. It may be
easier to look at that code and compare it.

Bobby
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org