Skip to content
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

ValidateCertificate should be able to validate certificate chain #96

Open
asbachb opened this issue Jul 26, 2018 · 1 comment
Open

ValidateCertificate should be able to validate certificate chain #96

asbachb opened this issue Jul 26, 2018 · 1 comment
Labels
Diverge from zcash Enhancement New feature or request

Comments

@asbachb
Copy link

asbachb commented Jul 26, 2018

I guess zend should be able to verify the certification chain like every other ssl enabled service (httpd, imaps, ...)

Adding the intermediate certificate like described in step 3,4 (https://zencash.atlassian.net/wiki/spaces/ZEN/pages/7537014/Part+6+-+Procure+and+Configure+Certificate) should not be necessary if ValidateCertificate (https://github.com/ZencashOfficial/zen/blob/48bba6a7b46f428b75f4cd925ff91d1f1fd462b2/src/zen/utiltls.cpp#L417) would behave correctly.

A problem which might help with that issue is that zend is currently not providing the entire certificate chain during handshake.
see https://github.com/asbachb/zen/blob/master/src/zen/tlsmanager.cpp#L183

asbachb added a commit to asbachb/zen that referenced this issue Jul 26, 2018
…nstead of only the first one.

This enables a client to retrieve a full certificate chain during a tls handshake.

relates to HorizenOfficial#96
@tarrenj tarrenj added Enhancement New feature or request Diverge from zcash labels Jul 30, 2018
@tarrenj
Copy link
Contributor

tarrenj commented Jul 30, 2018

Also see #85 and #85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Diverge from zcash Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants