diff --git a/apps/elasticsearch/restapi/custom/api.pm b/apps/elasticsearch/restapi/custom/api.pm index c2eabb1ef..eb10f5a35 100644 --- a/apps/elasticsearch/restapi/custom/api.pm +++ b/apps/elasticsearch/restapi/custom/api.pm @@ -49,6 +49,7 @@ sub new { "password:s@" => { name => 'password' }, "proxyurl:s@" => { name => 'proxyurl' }, "timeout:s@" => { name => 'timeout' }, + "ssl-opt:s@" => { name => 'ssl_opt' }, }); } $options{options}->add_help(package => __PACKAGE__, sections => 'REST API OPTIONS', once => 1); @@ -193,6 +194,10 @@ Proxy URL if any Set HTTP timeout +=item B<--ssl-opt> + +Set SSL Options (--ssl-opt="SSL_version => TLSv1" --ssl-opt="SSL_verify_mode => SSL_VERIFY_NONE"). + =back =head1 DESCRIPTION