-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"certificate rejected: [SelfSigned]" #291
Comments
If this exception is thrown by the client, this means it does not trust the root CA given by the server. You mention a step about a client certificate, but the server root certificate must also be added to |
@ocheron Thanks for the info, that's helpful. Is there any ordering required to correctly populate the store? Is it as simple as I ask because including both the root and the client yields a |
The client certificate does not go to |
In the end I needed to provide the |
Yes you're right, it is |
Where should such documentation live? It would likely only be a minimal code example and text. |
We can start with simplest possible thing, it's always possible to refactor later when more content is available. I'm thinking Primary goal is to show what ClientParams to use. Possibly with tls only, or from context of package What works best for you and you feel most useful to avoid the issue you ran into. |
sharedCredentials is not necessary, see haskell-tls#291.
Hi, I'm running into an issue connecting to a third-party's api using a provided certificate. I've configured the supported ciphers and created a cert store using only the top-level client certificate as per their instructions. (I omit intermediary certificates also per their instructions.)
This results in:
Could anyone shed some light onto what it might mean?
The text was updated successfully, but these errors were encountered: