-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
When using the plugin locally on a specific virtual host with SSL (when using -S explicitly or when the page is behind a redirect to HTTPS) we encounter a HTTP 400 in Apache.
How to reproduce:
./check_phpfpm_status.pl -H localhost -s example.org -u /phpfpm_status -S
Results in HTTP 400 Bad Request because of the following Apache httpd error:
[ssl:error] [pid 12345] AH02032: Hostname localhost provided via SNI and hostname example.org provided via HTTP are different
It appears the -s servername is not used correctly for the SSL request?
We are using CentOS 7's stock Apache (httpd-2.4.6-80.el7.centos.1.x86_64) with TLS 1.2.
Reactions are currently unavailable