- changed status to invalid
cannot load private key / SSL ctx is null!
Issue #878
invalid
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)
-
repo owner -
reporter Now there is the funny part: /usr/local/etc/piler/piler.pem exists ;)
-
repo owner Check if user (or group) piler can read it.
-
reporter Yep, that was the issue - thanks
- Log in to comment
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