{"id":56185,"library":"okhttp-tls","title":"OkHttp TLS","description":"OkHttp is an HTTP client for Java and Kotlin that provides TLS configuration utilities for secure connections.","status":"active","version":"5.3.2","language":"java","source_language":null,"source_url":"https://github.com/square/okhttp","tags":["http","tls","okhttp","security","networking"],"install":[{"cmd":"<dependency>\n  <groupId>com.squareup.okhttp3</groupId>\n  <artifactId>okhttp-tls</artifactId>\n  <version>5.3.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.squareup.okhttp3:okhttp-tls:5.3.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"HandshakeCertificates","correct":"okhttp3.tls.HandshakeCertificates"}],"quickstart":{"code":"import okhttp3.tls.HandshakeCertificates;\nimport okhttp3.tls.CertificateAuthority;\n\npublic class Main {\n    public static void main(String[] args) {\n        HandshakeCertificates certificates = new HandshakeCertificates.Builder()\n                .addPlatformTrustedCertificates()\n                .build();\n        System.out.println(\"TLS certificates configured\");\n    }\n}","lang":"java","description":"Configures TLS certificates for secure HTTP connections."},"warnings":[],"env_vars":null,"search_vec":"'client':7 'configur':15 'connect':19 'http':6,20 'java':9 'kotlin':11 'network':24 'okhttp':1,3,22 'provid':13 'secur':18,23 'tls':2,14,21 'util':16","created_at":"2026-06-15T10:24:37.653228+00:00","updated_at":"2026-06-15T10:24:37.653228+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://square.github.io/okhttp/","github":"https://github.com/square/okhttp","docs":"https://appdoc.app/artifact/com.squareup.okhttp3/okhttp-tls/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}