Issue to certificate file and private key file

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
PeterChan
Normal user
Normal user
Posts: 87
Joined: 2018-06-23 15:45

Issue to certificate file and private key file

Post by PeterChan » 2020-05-03 11:23

Hi,
I do not know why error below happened in hMailserver, regarding my certificate file and private key file.
"ERROR" 4800 "2020-05-03 14:30:00.858" "Severity: 2 (High), Code: HM5113, Source: SslContextInitializer::InitServer, Description: Failed to load certificate file. Path: C:\dp2\Certificate file and key file\cert0.pfx, Address: 0.0.0.0, Port: 587, Error: use_certificate_file: no start line"

User avatar
RvdH
Senior user
Senior user
Posts: 1136
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Issue to certificate file and private key file

Post by RvdH » 2020-05-03 18:18

What do you expect to get as a answer? The reason is shown in the error message isn't?
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

Virinum
Normal user
Normal user
Posts: 133
Joined: 2018-11-23 14:42
Location: Germany

Re: Issue to certificate file and private key file

Post by Virinum » 2020-05-04 00:03

hMailServer doesn’t support .pfx certificates. You have to convert it to a .pem certificate and private key.

Post Reply