mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[GH-ISSUE #1838] PKCS12 is not supported with Rustls for certificate, use PEM encoding #789
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#789
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HLFH on GitHub (Nov 24, 2022).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1838
Describe the bug
System:
Version:
Crate: server
Additional context
Config file
@djc commented on GitHub (Nov 24, 2022):
Please actually fill in what you expected to happen. Seems to me that the error is relatively clear and you should just convert your certficate file to the other format, some googling will probably get you there.
@HLFH commented on GitHub (Nov 24, 2022):
Well I am using the default config file (https://github.com/bluejekyll/trust-dns/blob/main/tests/test-data/named_test_configs/dns_over_tls.toml) with the default linked certificate: https://github.com/bluejekyll/trust-dns/blob/main/tests/test-data/named_test_configs/sec/example.p12.
I am not sure why I should expect an error there with files and configuration provided by Trust-DNS.
I cannot launch successfully DNS over TLS with the samples provided.
Here is my
named.servicefile:Linked to this comment: https://github.com/bluejekyll/trust-dns/issues/1642#issuecomment-1126794501
@djc commented on GitHub (Nov 24, 2022):
Okay, so we can close this as a duplicate of #1642? You're not being very explicit about the purpose of this issue.
@HLFH commented on GitHub (Nov 24, 2022):
@djc This is not a duplicate of https://github.com/bluejekyll/trust-dns/issues/1642. I am not asking to support for EC keys.
I am submitting a bug.
I just don't understand why the sample conf. provided by Trust-DNS for DNS over TLS links to a PKCS12 file 'sec/example.p12' that makes Trust-DNS fail.
@darnuria commented on GitHub (Nov 26, 2022):
I can confirm that we have some issue with OpensslV3 on Manjaro. I was able to reproduce the CI issue with openssl tools
This Issue is linked to the infamous error in CI that poped last week.
@HLFH commented on GitHub (Nov 28, 2022):
Currently, trust-dns does not support PKCS12, and
rustlsseems not to support it either, so it's probably a won't fix fortrust-dnsat this moment as it needs to wait forrustlsto support it.I tried to install
trust-dnswith this Arch Linux AUR package but it includes a patch that unlink thedns-over-native-tlsfeature, and thereforeopenssl, and links instead todns-over-rustls. That is why I got the error. I finally packaged trust-dns-git on Arch Linux AUR to solve this issue, and I will continue to maintain this package. No more issues for me on my side with the right features enabled.I consider this issue as a won't fix for
trust-dnsas the initial issue is a rustls issue.Closing.
@darnuria I think the other issue you mentioned is fixed with the PR https://github.com/bluejekyll/trust-dns/pull/1841 and thanks to your initial PR that was solving half of it.
@darnuria commented on GitHub (Dec 3, 2022):
No problem happy to see it fixed! :)