Skip to content

Support for custom ciphers and protocols for https requests #380

@Hakky54

Description

@Hakky54

Is your feature request related to a problem? Please describe.
I would like to allow only a specific tls protocol to prevent the client communicating with older protocols. I also want to use specific ciphers for the client.

Describe the solution you'd like
I would prefer a simple configuration just like configuring the SSLContext and HostnameVerifier

Unirest.config()
    .sslContext(sslContext)
    .protocols("TLSv1.2")
    .ciphers("TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384");

Describe alternatives you've considered
I couldn't discover an alternative

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions