Closed shanelord01 closed 4 years ago
@scrytch - What are you passing in for the certificate route? Is it a self-signed cert?
@scrytch - What are you passing in for the certificate route? Is it a self-signed cert?
At the moment I'm just testing "True" or "False" statements, but would need to support a path too... at the moment the script isn't liking default = "False"
Upon reviewing today, I recognized the code snipppet is sending a string, i.e. "False"
, instead of a boolean. Python would recognize the string 'False' as a True
boolean. Closing ticket.
Hi,
Trying to modify an old script.
I have an argument set as:
parser.add_argument('-s', '--sslCert', help = "SSL CertPath True or False", default = "False")
and parse the argument as below:
And use the argument here:
I'm getting the error:
So it seems it sees "False", but it's not seeing it as an input for "ssl_verify"
Any ideas? As you can tell, I'm still learning.
Thanks, Shane.