-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
O-AppleWork related to the Apple (macOS, iOS) verifier implementationWork related to the Apple (macOS, iOS) verifier implementationO-UNIXWork related to the certificate fetching on UNIX platformsWork related to the certificate fetching on UNIX platformsO-WindowsWork related to the Windows verifier implementationWork related to the Windows verifier implementationenhancementNew feature or requestNew feature or request
Description
Currently to use extra roots I need to use the following setup:
builder.dangerous()
.with_custom_certificate_verifier(Arc::new(Verifier::new_with_extra_roots(extra_roots)?))There exists the ext trait which could be extended to support:
builder.with_platform_verifier_and_extra_roots(extra_roots)?This avoids needing to justify the use of dangerous when setting up TLS. This mirrors the non-dangerous with_root_certificates method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
O-AppleWork related to the Apple (macOS, iOS) verifier implementationWork related to the Apple (macOS, iOS) verifier implementationO-UNIXWork related to the certificate fetching on UNIX platformsWork related to the certificate fetching on UNIX platformsO-WindowsWork related to the Windows verifier implementationWork related to the Windows verifier implementationenhancementNew feature or requestNew feature or request