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
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general