mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
fix protocols x509 certificate mode
This commit is contained in:
parent
3ece41a424
commit
2a0554ba16
@ -170,8 +170,8 @@ sub manage_selection {
|
||||
$socket = IO::Socket::SSL->new(
|
||||
PeerHost => $self->{option_results}->{hostname},
|
||||
PeerPort => $self->{option_results}->{port},
|
||||
$self->{option_results}->{servername} ? ( SSL_hostname => $self->{option_results}->{servername} ) : '',
|
||||
$self->{option_results}->{timeout} ? ( Timeout => $self->{option_results}->{timeout} ) : '',
|
||||
$self->{option_results}->{servername} ? ( SSL_hostname => $self->{option_results}->{servername} ) : (),
|
||||
$self->{option_results}->{timeout} ? ( Timeout => $self->{option_results}->{timeout} ) : (),
|
||||
);
|
||||
};
|
||||
if ($@) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user