How to Create an HttpPeer with Rustls and Self-Signed Certificates #774
Unanswered
rxdiscovery
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am looking for guidance on how to create an HttpPeer from the upstream_peer() function that connects to a backend using a self-signed certificate, without disabling certificate verification (verify_cert). Specifically, I want to achieve this using rustls instead of openssl.
I am having trouble figuring out how to configure ClientConfig in rustls to accept self-signed certificates. Despite searching, I haven't been able to find an example that demonstrates how to accomplish this.
Any help or examples would be greatly appreciated. Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions