reading private key file

Rainer Gerhards rgerhards at
Thu Dec 1 17:44:15 CET 2011

> I don't know what is wrong with your program, but certtool uses the
> same idea to load a key (see privkey_info()), so if certtool can read
> the key so should you (unless you provide bad data, or you didn't call
> gnutls_global_init()).provide to the function.

doh! I did not call the init! Shame on me (but, believe me, I got what
I deserve...).

Thanks for the quick help!

More information about the Gnutls-help mailing list