Reputation: 1185
I have the following Mojo::UserAgent code which works fine :
$ua->insecure(1)->get('https://someurl')
trying to do this with Mojo command line
mojo get -v https://someurl
I am getting this error
SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
My question is it possible to make the Mojo get
to run as insecure like the $ua->insecure(1)->get('https://someurl')
Upvotes: 3
Views: 143
Reputation: 1185
I found it , its -k
or --insecure
modifier
for example
mojo get -v -k https://someurl
Upvotes: 4