[GH-ISSUE #1905] Add crate feature to support webpki-roots #813

Closed
opened 2026-03-16 00:20:35 +03:00 by kerem · 4 comments
Owner

Originally created by @MarcelCoding on GitHub (Mar 12, 2023).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1905

Is your feature request related to a problem? Please describe.
webpki-roots provides its own certificate store and is therefore independent on the system store. This would e.g. enable the usage of scratch docker images, as these don't provide their own certificates.

Describe the solution you'd like
Add crate feature to support webpki-roots

Additional context
Example usage with hyper-rustls: https://github.com/rustls/hyper-rustls/blob/main/src/connector/builder.rs#L77-L86

Originally created by @MarcelCoding on GitHub (Mar 12, 2023). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1905 **Is your feature request related to a problem? Please describe.** [webpki-roots](https://crates.io/crates/webpki-roots) provides its own certificate store and is therefore independent on the system store. This would e.g. enable the usage of scratch docker images, as these don't provide their own certificates. **Describe the solution you'd like** Add crate feature to support webpki-roots **Additional context** Example usage with hyper-rustls: https://github.com/rustls/hyper-rustls/blob/main/src/connector/builder.rs#L77-L86
Author
Owner

@djc commented on GitHub (Mar 12, 2023):

Makes sense. Would you be able to submit a PR?

<!-- gh-comment-id:1465158954 --> @djc commented on GitHub (Mar 12, 2023): Makes sense. Would you be able to submit a PR?
Author
Owner

@MarcelCoding commented on GitHub (Mar 12, 2023):

I'll give it a try.

<!-- gh-comment-id:1465184895 --> @MarcelCoding commented on GitHub (Mar 12, 2023): I'll give it a try.
Author
Owner

@cpu commented on GitHub (Nov 3, 2023):

Could this be considered resolved by https://github.com/hickory-dns/hickory-dns/pull/2005?

<!-- gh-comment-id:1792560243 --> @cpu commented on GitHub (Nov 3, 2023): Could this be considered resolved by https://github.com/hickory-dns/hickory-dns/pull/2005?
Author
Owner

@daxpedda commented on GitHub (Nov 3, 2023):

Yes.
Follow-ups are discussed in #2038.

<!-- gh-comment-id:1792594114 --> @daxpedda commented on GitHub (Nov 3, 2023): Yes. Follow-ups are discussed in #2038.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#813
No description provided.