Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have gone through a couple of tutorials on how to set up postfix on ubuntu with support for my ssl certificate:

but neither of them mention what i am trying to do, so maybe i'm missing something.

my certificate file requires a password (at least it does when i start apache using this same certificate), however, at no stage do i enter this certificate's password when starting up or configuring postfix.

how would i start up or configure postfix with the password required to load the certificate?

share|improve this question
up vote 3 down vote accepted

the postfix configuration file is located in /etc/postfix/ the lines within this file which deal with tls are:

smtpd_tls_CAfile = /etc/ssl/
smtpd_tls_cert_file = /etc/ssl/certs/
smtpd_tls_key_file = /etc/ssl/private/

none of these files require a password. note that the unencrypted key file may be generated from an encrypted key file (ie a key file that does have a password) using the command:

openssl rsa -in /etc/ssl/ -out /etc/ssl/

from everything i have read, i don't think it is possible to pass the encrypted key file straight to postfix - i think it has to be an unencrypted key file that is passed in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.