Search This Blog

curl and wget: bypass ssl certification validation

  • --insecure or -k for curl:
    curl --create-dirs -k -o /path/to/output-dir/file https://your-site.org/file
    
  • --no-check-certificate for wget:
    wget --no-check-certificate -O /path/to/output-dir/file https://your-site.org/file
    

No comments:

Post a Comment