Skip to content

Commit

Permalink
The default CAs are namespaced and accessed via a relative path (#2906)
Browse files Browse the repository at this point in the history
The default CAs are namespaced and accessed via a relative path, allowing the keystores library to be shaded
  • Loading branch information
carterkozak authored May 15, 2024
1 parent 503874b commit 2d201fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/@unreleased/pr-2906.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: improvement
improvement:
description: The default CAs are namespaced and accessed via a relative path, allowing
the keystores library to be shaded
links:
- https://github.com/palantir/conjure-java-runtime/pull/2906
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ final class DefaultCas {
/**
* This is managed by an excavator.
*/
private static final String CA_CERTIFICATES_CRT = "/ca-certificates.crt";
private static final String CA_CERTIFICATES_CRT = "ca-certificates.crt";

private static final Supplier<Map<String, X509Certificate>> TRUSTED_CERTIFICATES =
Suppliers.memoize(DefaultCas::getTrustedCertificates);
Expand Down

0 comments on commit 2d201fb

Please sign in to comment.