HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   'unable to load Private Key' error whilst creating TLS Certificates (http://www.howtoforge.com/forums/showthread.php?t=46068)

AlteredMode 23rd May 2010 13:39

'unable to load Private Key' error whilst creating TLS Certificates
 
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.

AlteredMode 23rd May 2010 13:53

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


All times are GMT +2. The time now is 06:04.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.