Forum Discussion
Vasu_Kolusu_855
Nimbostratus
Oct 14, 2013how to integrate SSL cert with HTTPS post monitor
i have configured following HHTPS post monitor
POST /healthcheck HTTP/1.1\nhost: www.example.com\n\r\n
Response code HTTP/1.1 200 OK
i was given SSL certificate for www.example.com , c...
Kevin_Stewart
Employee
Oct 15, 2013An HTTPS POST monitor is basically the same as an HTTP POST monitor with the addition of SSL-related functions. I would start out testing with cURL from the command line to make sure you have everything you need. Example:
curl -v http://10.10.10.10/my/uri -d "username=foo&password=bar"
This will produce something like the following:
POST /my/uri HTTP/1.1
User-Agent: curl/7.16.4 (i586-pc-mingw32msvc)...
Host: 10.10.10.10
Accept: */*
Content-Length: 25
Content-Type: application/x-www-form-urlencoded
Once you have a good working POST from the command line, convert that to a single line statement for the monitor this this:
POST /my/uri HTTP/1.1\r\nHost: 10.10.10.10\r\nAccept: */*\r\nContent-Length: 25\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\nusername=foo&password=bar
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects