matteocorti / nagios_plugins

18 stars 7 forks source link

TLS not working for https #93

Closed matteocorti closed 8 years ago

matteocorti commented 8 years ago

Original reporter: j.gonel@pamediakopes.gr

When serving SSL using TLS the servername variable is set to the host parameter and not to the COMMON_NAME.

This will make the server to spit the first certificate in the list and not the desired one.

Note: Also I gess the code to assign the server name is duplicated:

SERVERNAME="-servername ${COMMON_NAME}"

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Hi,

thanks for the report. Could you please tell me (if possible) which certificate is giving problems, so that I can test a fix for the plugin.

Matteo

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Fixed in 1.14.5