commit 83add70a8ef7690661d4d6d54500d85cc10d00ba Author: Marek 'marx' Grac Date: Mon Nov 10 10:58:54 2014 +0100 fencing: Fix problem with not validating SSL certificates In commit 809b909651118c06d2ab48d7911bbee2e512e478, --ssl-(in)secure options were added. With --ssl be equal to --ssl-secure this was not implemented properly. Resolves: rhbz#1162092 diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py index 23270a7..29c0e47 100644 --- a/fence/agents/lib/fencing.py.py +++ b/fence/agents/lib/fencing.py.py @@ -996,7 +996,7 @@ def fence_login(options, re_login_string=r"(login\s*: )|(Login Name: )|(usernam if options.has_key("--ssl-insecure"): ssl_opts = "--insecure" - command = '%s %s %s --insecure --crlf -p %s %s' % \ + command = '%s %s %s --crlf -p %s %s' % \ (SSL_PATH, gnutls_opts, ssl_opts, options["--ipport"], options["--ip"]) try: conn = fspawn(options, command)