> > Hi, > > > > You should you generate an X509 certificate and then try to read the > private key with PEM_read_PrivateKey. What does the key that you are > trying to load look like? Could it be that you are reading in the > certificate in place of the key? > > > > Also, I don't know much about perror, butOpenSSL has its own error > function to help you determine if OpenSSL is encountering any errors. > Consider using ERR_print_errors_fp to determine if OpenSSL is > > encountering any errors (http://www.openssl.org/docs/crypto/ > > ERR_print_errors.html#). > > Hi, > > the output of ERR_print_errors prints a message I dont understand: > 18171:error:0906B072:lib(9):func(107):reason(114):pem_lib.c:481:
"openssl errstr 0906B072" Gives: error:0906B072:PEM routines:PEM_get_EVP_CIPHER_INFO:unsupported encryption DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]