[ClusterLabs] need help in "Scratch Step-by-Step Instructions for Building Your First High-Availability " wget -O - http://localhost/server-status

Aliaj, Shpetim shpetim.aliaj at purchase.edu
Thu Jan 31 11:09:38 EST 2019


Hi Guys,

i am setting up a test cluster for apache, but on the step 6.4 Configure the cluster. i have https enabled with a cert. 
the cert is configured for the IP of the host not the localhost.

its say there that the wget -O - http://localhost/server-status is the command to check if the config is right.

that command does not work for me.

But the wget --no-check-certificate -O -  https://localhost/server-status
--2019-01-31 11:04:08--  https://localhost/server-status
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:443... connected.
WARNING: no certificate subject alternative name matches
	requested host name ‘localhost’.
HTTP request sent, awaiting response... 200 OK
Length: 4225 (4.1K) [text/html]
Saving to: ‘STDOUT’

 0% [                                                                                                          ] 0           --.-
K/s              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html><head>
<title>Apache Status</title>
</head><body>
<h1>Apache Server Status for localhost (via ::1)</h1>


How can i add the --no-check-certificate or any other configs to the "pcs resource create WebSite ocf:heartbeat:apache
configfile=/etc/httpd/conf/httpd.conf statusurl="https://localhost/server-status" op monitor interval=1min

thanks a lot

Tim




More information about the Users mailing list