Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mojo::UserAgent (Mojo command line ) and insecure modifier

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')

like image 902
dave Avatar asked Oct 25 '25 10:10

dave


1 Answers

I found it , its -k or --insecure modifier

for example

mojo get -v -k https://someurl

like image 65
dave Avatar answered Oct 27 '25 07:10

dave