cannot load private key / SSL ctx is null!

Issue #878 invalid
Thomas Helmrich created an issue

Hi there,

i got those errors in my log for almost every connection:

piler-smtp[1262]: connected from 1.1.1.1:36303 on descriptor 6 piler-smtp[1262]: cannot load private key from /usr/local/etc/piler/piler.pem piler-smtp[1262]: SSL ctx is null! piler-smtp[1262]: connected from 1.1.1.1:36305 on descriptor 17 piler-smtp[1262]: cannot load private key from /usr/local/etc/piler/piler.pem piler-smtp[1262]: SSL ctx is null!

Why does them appear? How could i fix it? Or is it a bug?

Thanks!

Comments (4)

  1. Janos SUTO repo owner

    The error message is pretty self explaining: you cannot use the starttls feature without a pem file (containing both the private key and the certificate).

    So you either create the missing file or set tls_enable=0 in piler.conf

  2. Log in to comment