Postfix Forward Encryption com TLS



  • Boa tarde,

    estive a pesquisar e não encontrei nada que pode-se ajudar no meu problema.

    Configurei o Encryption com TLS no main.cf com os seguintes dados:

    Add TLS

    SMTPD

    smtpd_tls_cert_file = /cf/conf/cert.crt
    smtpd_tls_key_file = /cf/conf/cert.key
    smtpd_tls_CAfile = /etc/ssl/cert.pem
    smtpd_tls_security_level = may

    SMTP Client

    smtp_tls_security_level = may
    smtp_tls_CAfile = /etc/ssl/cert.pem

    SSL-Certificate - Generate logfile entries

    smtpd_tls_received_header = yes
    smtp_tls_loglevel = 1
    smtpd_tls_loglevel = 1

    agora no log estou a receber estes resultados:

    Nov 24 15:23:36 pfsense postfix/tlsproxy[65318]: warning: cannot get RSA private key from file /cf/conf/cert.key: disabling TLS support
    Nov 24 15:23:36 pfsense postfix/tlsproxy[65318]: warning: TLS library problem: 65318:error:02001002:system library:fopen:No such file or directory:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:356:fopen('/cf/conf/cert.key','r'):
    Nov 24 15:23:36 pfsense postfix/tlsproxy[65318]: warning: TLS library problem: 65318:error:20074002:BIO routines:FILE_CTRL:system lib:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:358:
    Nov 24 15:23:36 pfsense postfix/tlsproxy[65318]: warning: TLS library problem: 65318:error:140B0002:SSL routines:SSL_CTX_use_PrivateKey_file:system lib:/usr/pfSensesrc/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_rsa.c:648:

    alguem pode ajudar-me, deve estar a faltar-me qualquer configuração adicional.

    Obrigado
    Filipe