monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot initialise SSL server private key


From: Gordon Tam
Subject: Cannot initialise SSL server private key
Date: Fri, 24 Jan 2014 20:21:38 +0800

Hello,

I'm trying to enable SSL for my Monit configuration.  In my conf file I've added:

set httpd port 2812 address localhost

        ssl enable

        pemfile /root/SSL/xyzabcdef.crt


where xyzabcdef.crt is my pem generated with Godaddy.  My website currently works with SSL.  However, when I try to start monit with the above SSL configuration, the log file reports:


---------------

[Jan 24 20:03:54] info     : Starting monit HTTP server at [localhost:2812]

[Jan 24 20:03:54] info     : monit HTTP server started

[Jan 24 20:03:54] info     : 'myhostname' Monit started

[Jan 24 20:03:54] error    : monit: Cannot initialize SSL server private key -- error:0906D06C:PEM routines:PEM_read_bio:no start line

[Jan 24 20:03:54] error    : http server: Could not initialize SSL engine

[Jan 24 20:03:54] error    : monit HTTP server not available

---------------


Any ideas?


Regards,

Gordon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]