Results 1 to 3 of 3

Thread: Warning: cannot get RSA private key

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    Hong Kong
    Posts
    77
    Rep Power
    3

    Default Warning: cannot get RSA private key

    I have the following showing up over and over in the Zimbra log. I'm wondering if anyone knows what the cause and effect is.

    Code:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: cannot get RSA private key from file /opt/zimbra/conf/smtpd.key: disabling TLS support
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:111:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:454:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:

  2. #2
    Join Date
    Jan 2012
    Posts
    69
    Rep Power
    3

    Default

    Quote Originally Posted by davidkillingsworth View Post
    I have the following showing up over and over in the Zimbra log. I'm wondering if anyone knows what the cause and effect is.

    Code:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: cannot get RSA private key from file /opt/zimbra/conf/smtpd.key: disabling TLS support
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:0906406D:PEM routines:PEM_def_callback:problems getting password:pem_lib.c:111:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:0906A068:PEM routines:PEM_do_header:bad password read:pem_lib.c:454:
    Mar 19 06:52:10 zimbra postfix/smtpd[10672]: warning: TLS library problem: 10672:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:669:
    You have to delete the password from the key file on your server. I had the same problem, now is everything solved. Check in the main.cf file (postfix) where your TLS key file is stored.. Then delete the passphrase from that file..

    How to delete passphrase:

    Removing a passphrase from an SSL Key

    Restart server!

  3. #3
    Join Date
    Feb 2012
    Location
    Hong Kong
    Posts
    77
    Rep Power
    3

    Default

    Thanks. It said right in the error message in the log file which key file it was.

    warning: cannot get RSA private key from file /opt/zimbra/conf/smtpd.key
    Backing up the original file, and then removing the passphrase eliminated all the errors in the /var/log/zimbra.log.

    Code:
    $ cd /opt/zimbra/conf/
    $ cp smtpd.key smtpd.key.original
    $ openssl rsa -in smtpd.key -out smtpd.new.key
    <ENTER PASSPHRASE>
    $ mv smtpd.key smtpd.old.key
    $ cp smtpd.new.key smtpd.key
    Release 7.2.4_GA_2900.UBUNTU10_64 UBUNTU10_64 FOSS edition.

Similar Threads

  1. Possible corrupt LDAP
    By weezbunbun in forum Administrators
    Replies: 20
    Last Post: 02-12-2012, 08:34 AM
  2. Zimbra Crashes every day
    By feiticeir0 in forum Administrators
    Replies: 10
    Last Post: 10-13-2011, 07:53 AM
  3. zmconfigd stopped - how to proceed?
    By billinvegas in forum Administrators
    Replies: 7
    Last Post: 07-16-2011, 10:47 PM
  4. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  5. Replies: 2
    Last Post: 06-29-2007, 11:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •