Skip to content

Conversation

@ldetmer
Copy link
Contributor

@ldetmer ldetmer commented Feb 10, 2026

In preparation for deprecating GoogleUtils.getCertificateTrustStore() see go/stop-keystore-api-java-client update Apache http transports to use default jdk certs, instead of bundled certs.

We no longer want to support the bundled certs. This PR updates apache http transports to pass a null cert to SSLContext which will automatically load the default certs for the jdk. See how TrustManagerFactory loads from jdk defaults in TrustStoreManager when no keystore is provided

Tested both updated apache transports with calls storage API.

PR with deprecation is [here] (#2613)

@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Feb 10, 2026
@ldetmer ldetmer changed the title chore: update apahce http transport clients to use default jdk certs chore: update apache http transport clients to use default jdk certs Feb 11, 2026
@ldetmer ldetmer changed the title chore: update apache http transport clients to use default jdk certs chore: update apache http transports to use default jdk certs Feb 11, 2026
@ldetmer ldetmer marked this pull request as ready for review February 11, 2026 17:20
@ldetmer ldetmer requested a review from a team as a code owner February 11, 2026 17:20
@ldetmer ldetmer requested a review from blakeli0 February 11, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants