Hello! I'm a newbie in OpenSSL and I'm trying to save an encrypted RSA private key to a file, using triple DES encryption. I use the following command
ok = PEM_write_RSAPrivateKey (fp, rsa, EVP_des_ede3_cbc(), NULL, 0, NULL, (void *)password); which works just fine. The problem is that everytime I try to load the key using the command rsa = PEM_read_RSAPrivateKey(fp, &rsa, NULL, (void *)password); I get the error message error: 0906B072:PEM routines: PEM_get_EVP_CIPHER_INFO: unsupported encryption What's going on? Can anyone gimme a hand? Thanx! Daniel
