Registry / http-client / okhttp-tls

okhttp-tls

JSON →
library5.3.2javamavenunverified

OkHttp is an HTTP client for Java and Kotlin that provides TLS configuration utilities for secure connections.

<dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-tls</artifactId> <version>5.3.2</version> </dependency>
INSTALL
IMPORT
SIG · OKHTTP-TLS
O
okhttp-tls
http-clientjavav5.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HandshakeCertificates
okhttp3.tls.HandshakeCertificates

Configures TLS certificates for secure HTTP connections.

import okhttp3.tls.HandshakeCertificates; import okhttp3.tls.CertificateAuthority; public class Main { public static void main(String[] args) { HandshakeCertificates certificates = new HandshakeCertificates.Builder() .addPlatformTrustedCertificates() .build(); System.out.println("TLS certificates configured"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.3.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
okhttp-tls — mvn dependency:get okhttp-tls · libregistry