... >> >> Can anyone tell me why this does not work ? > > Most likely the file you're reading doesn't contain a private key in a > format that PEM_read_PriveKey likes. But the best way to tell is to use > more > sensible error output code. For example, call ERR_print_errors_fp(stderr). > The 'perror' function will only work if the error was an error in a system > call. Most likely, the error was detected in the SSL code that tried to > process the data in the file. > Hi,
I replaced perror with ERR_print_errors_fp(stderr) but this gives me: 18171:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481: Is it possible to make readable error message from this ? Ciao Matthias ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]