monit-general
[Top][All Lists]
Advanced

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

Re: SSL Certs (same host) for Monit and Apache


From: Jim Popovitch
Subject: Re: SSL Certs (same host) for Monit and Apache
Date: Sun, 28 May 2006 03:27:38 -0400
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

Nevermind.  I discovered my own answer.

To have Apache and Monit use the same SSL certificate you need to combine the server.key and server.crt to produce the monit.pem like this:

  cat server.key server.crt > monit.pem

Don't forget to chmod 600 monit.pem.

-Jim P.

Jim Popovitch wrote:
Hi, I'm using Monit to monitor a few servers, it's quite a neat app. Thank you.

Not knowing enough about SSL certs... The issue I am having is that if Monit and Apache both are runing HTTPS services on the same host (but different ports) the client browser complains about inconsistent certificates with non-unique serial numbers. (which is a good thing).

What I would like to do is have Monit (which is monitoring Apache on this host) and Apache itself use the same certificate to alleviate this problem. Searching the Internet for Monit and Apache is difficult due to all the info on using Monit to monitor Apache. ;-)

Is there a way to generate Monit's .pem file from existing Apache SSL certs?

Tia,

-Jim P.



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

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