mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 08:04:36 +02:00
fix protocols x509 certificate mode
This commit is contained in:
parent
48a89eb8b9
commit
d4d7caf91a
@ -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