Tags:

    Leopard Server Postfix TLS Error: cannot get private key from file /etc/certificates/mycert.key

    The problem here is that postfix is failing on encrypted TLS certs and OSX ServerAdmin created certs are encrypted. The fix is, as should be expected, to unencrypt the cert:

    1. cd /etc/certificates
    2. cp mycert.key mycert.key.saved
    3. openssl rsa -in mycert.key -out mycert.key.out
    4. cp -p mycert.key.out mycert.key
    5. postfix reload

    * credit to the apple discussion forums.