Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

client: add support for SHA-2 #140

Merged
merged 1 commit into from
Jun 12, 2014

Conversation

rjocoleman
Copy link
Contributor

When using the client to connect to a self-hosted ngrokd that's using a leaf or intermediate certificate with a SHA-2 hash a Failed to read message: remote error: bad certificate is received by the server.

This is because SHA-2 isn't in crypto/x509 this PR remedies that.

Further detail on this is here:
http://bridge.grumpy-troll.org/2014/05/golang-tls-comodo/
https://groups.google.com/forum/#!topic/Golang-nuts/hqm_ssUNUtI

I just had a certificate issued that triggers this issue - coincidentally a Comodo Positive SSL.

inconshreveable added a commit that referenced this pull request Jun 12, 2014
client: add support for SHA-2
@inconshreveable inconshreveable merged commit 74ac99a into inconshreveable:master Jun 12, 2014
@inconshreveable
Copy link
Owner

Thanks!

@rjocoleman rjocoleman deleted the sha-2 branch June 12, 2014 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants