Error: Failed to load certificate 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
User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Error: Failed to load certificate file

Post by Rainer » 2012-07-20 10:42

Hello,

I've orderd a 2048 Bit SSL-Cerificate via Symantec.
I've copied the certificate-text to a file named mycert.cert
In HMS I used the key-file for the private-key-file and the cert-file for the certificate-file.
The ports for SMPTS is 465, for IPMAPS is 993 and for POP3S is 995.
The server was restarted.
After restart I get the following error: Failed to load certificate file.

My cert-file begins with: -----BEGIN PKCS #7 SIGNED DATA-----
And ends with: -----END PKCS #7 SIGNED DATA-----

I thing my ssl-certificate is wrong?

Kind regards
Rainer Noa

User avatar
Caspar
Senior user
Senior user
Posts: 377
Joined: 2008-09-08 11:47
Contact:

Re: Error: Failed to load certificate file

Post by Caspar » 2012-07-20 12:17

are you sure that the certificate that Hmailserver is using is not encrypted, so it does not require a password to access it?

Also try to follow the folloing manual: http://www.hmailserver.com/forum/viewto ... 12&t=22371
If you have strange problems or errors use the log analyzer! http://log.damnation.org.uk
Join us on IRC! http://hmailserver.com/irc_fullscreen.php

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Re: Error: Failed to load certificate file

Post by ^DooM^ » 2012-07-20 12:33

Check admin and see if you have multiple \\ in certificate path.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Re: Error: Failed to load certificate file

Post by Rainer » 2012-07-20 12:56

Hello Caspar, and hello Doom,

THX for your fast answers!

I used this: http://www.hmailserver.com/forum/viewto ... 12&t=22371 and it looks like the ssl now works.
No more errors - is ist possible to test it?

Kind regards :)
Rainer Noa

User avatar
Caspar
Senior user
Senior user
Posts: 377
Joined: 2008-09-08 11:47
Contact:

Re: Error: Failed to load certificate file

Post by Caspar » 2012-07-20 12:57

In the first post there, you can see how you can check it using OpenSSL just scroll down to the last part of it.
If you have strange problems or errors use the log analyzer! http://log.damnation.org.uk
Join us on IRC! http://hmailserver.com/irc_fullscreen.php

User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Re: Error: Failed to load certificate file

Post by Rainer » 2012-07-20 13:05

Hello Caspar,

mea culpa - RTFM helps!
All works fine!

THX for your help and greetings from Germany :P
Rainer Noa

Post Reply