Merge branch 'SSL_VERIFY' of github.com:digrouz/ddclient
This commit is contained in:
commit
3881b5912f
1 changed files with 2 additions and 0 deletions
2
ddclient
2
ddclient
|
|
@ -2037,6 +2037,8 @@ sub geturl {
|
||||||
Proto => 'tcp',
|
Proto => 'tcp',
|
||||||
MultiHomed => 1,
|
MultiHomed => 1,
|
||||||
Timeout => opt('timeout'),
|
Timeout => opt('timeout'),
|
||||||
|
SSL_verify_mode => 'SSL_VERIFY_PEER',
|
||||||
|
SSL_ca_path => '/etc/pki/tls/certs/',
|
||||||
);
|
);
|
||||||
defined $sd or warning("cannot connect to $peer:$port socket: $@ " . IO::Socket::SSL::errstr());
|
defined $sd or warning("cannot connect to $peer:$port socket: $@ " . IO::Socket::SSL::errstr());
|
||||||
} elsif ($globals{'ipv6'}) {
|
} elsif ($globals{'ipv6'}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue