(Quick Reference)

ignoreInvalidSSL

Purpose

Sets whether the request should ignore SSL certificates.

Examples

jerseyRequestBuilder.post {
    uri = "https://example.com"
    ignoreInvalidSSL = true
}

Description

If true, install an all-trusting trust manager that does not validate against trusted SSL authorites and does not validate hostnames. This setting does not affect other SSL connections being used concurrently.

It's important to understand that a degree of security is given up by using this option.