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

Deduplicate orderer server TLS root CAs #2029

Merged
merged 1 commit into from
Oct 20, 2020

Commits on Oct 20, 2020

  1. Deduplicate orderer server TLS root CAs

    When the orderer TLS root CAs are updated, an aggregation of all root TLS CA certificates over all channels is injected into the PredicateDialer.
    Then, upon client TLS handshake, a fresh TLS config object is built (for orthogonal purposes), however the operation entails parsing of all
    root CAs all over again.
    
    In case the orderer is part of too many channels, this induces a high and unnecessary processing overhead.
    
    This commit simply performs a deduplication of the bespoken TLS root CA certificates prior to updating the root CAs.
    
    Change-Id: I21b2ed483afc9595c2ccd7fbe9ec0cf475cc5f62
    Signed-off-by: yacovm <yacovm@il.ibm.com>
    yacovm committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    dddad1a View commit details
    Browse the repository at this point in the history