diff --git a/doc/xmlrpc/aria2rpc b/doc/xmlrpc/aria2rpc index 427c0603..5b47e0cc 100755 --- a/doc/xmlrpc/aria2rpc +++ b/doc/xmlrpc/aria2rpc @@ -318,7 +318,7 @@ client=XMLRPC::Client.new3({:host => options["server"], :path => "/rpc", :user => options["user"], :password => options["passwd"], - :use_ssl => options["secure"]}) + :use_ssl => options["secure"] == "true"}) if options["check-rpc-cert"] == "false" then client.instance_variable_get(:@http).instance_variable_set(:@verify_mode, OpenSSL::SSL::VERIFY_NONE)