-
Notifications
You must be signed in to change notification settings - Fork 83
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
Verify certificates using local trust stores #40
Comments
the SSH3 server should be able to use your Let's Encrypt X509 certificate. I have a server using one. :-) You just need to set the |
@francoismichel I tried that and the client was not able to verify it, so I am a bit curious what happened here. How do you verify the certificate against the system trust store? |
I am using Line 455 in 96b63cc
The doc of
Maybe you want to play with these variables ? |
@RaitoBezarius Did you have the time to try it out ? Is there something I can do on my side for it to work more smoothly or should we mark the issue as resolved ? |
I'm still getting |
If you're familiar with the |
On Linux, here is where Go searches for certs by default (source):
You can compare these paths with what curl does. When I run curl, I can see that Curl finds the CA bundle for certificates in
Does curl find a CA in a file/dir that golang does not look at ? |
Currently, it seems like that SSH3 only implements self signed certificates, nothing more.
In situations where you get them via Let's Encrypt, it would be nice if it could work out of the box.
The text was updated successfully, but these errors were encountered: