'unable to load Private Key' error whilst creating TLS Certificates

Discussion in 'Installation/Configuration' started by AlteredMode, May 23, 2010.

  1. AlteredMode

    AlteredMode New Member

    Just wondering if anyone can help me with this. Been installing CentOS 5.3 and whilst going through the postfix installation and setup instructions on the tutorial on here but I get this error every time....

    Code:
    -bash-3.2# openssl req -new -key smtpd.key -out smtpd.csr
    Enter pass phrase for smtpd.key:
    unable to load Private Key
    4263:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:325:
    4263:error:0906A065:PEM routines:PEM_do_header:bad decrypt:pem_lib.c:425:

    Any ideas? Been trying to search for solutions but not really getting anywhere so far. Thanks.
     
    Last edited: May 23, 2010
  2. AlteredMode

    AlteredMode New Member

    Ok solved the problem. It wasn't pasting the key in correctly when i entered it.
     

Share This Page