Problem with Receive String by https

Hallo all,

I have a web server with http and https.

The healt monitor with http is running. But the monitor with https is not work if I set the receive string.

list ltm monitor https HTTPS-Test:

Hi!

so the Monitor should show it up when the server answers with a “401 Unauthorized”?

Or what is your goal?

one \r\n is missing at the end of the send statement.

it must be :

GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n

I have change to: GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n the result is the same

Can you check from CLI , if you are receiving the expected Receive String by doing a GET / ? Also why dont you add the url for Host: and see whats the response is ? GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n **URL --> is your test url.

the curl command to test the monitor is: curl -i --http1.1 -H "Host: " -H “Connection: Close” https://x.x.x.x/ | grep “HTTP/1.1 401 Unauthorized” or with openssl: openssl s_client -connect www.google.fr:443 allow to connect to SSL server and send HTTP version as telnet for HTTP followed by: GET / HTTP/1.1 Host: Connection: Close

Thanks for the tipp with openssl. In my SendString was a mistake. The right SendString is GET / HTTP/1.1\nHost: xy\nConnection: Close\n

So your web app required host header value.

When defining monitor, each newline must be replaced by \r\n. The last line must be empty, that’s why you need two new line : \r\n\r\n