OpenSSL function Pem_read_bio_private_key doesn't want to decrypt private key -



OpenSSL function Pem_read_bio_private_key doesn't want to decrypt private key -

i seek utilize function pem_read_bio_private_key private key form pem-file, function returns null value. found problem in decryption of private key. problem occurs in function evp_pkcs82pkey. when utilize err_error_string see description of error see such error: asn1_check_tlen: wrong tag. problem means private key in wrong format, format of private key "pem" , transmit right params in function "load_key", phone call function pem_read_bio_private_key:

load_key(null,session.pkey_path, format_pem, 1, session.pass, "key"),

`session.pkey_path` path private key `session.pass` - pass private key

who can problenm?

openssl private-key

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -