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

FAB-18163 TLS Timeshift w/o Separate Cluster Port #1724

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

jyellick
Copy link
Contributor

Type of change

  • Improvement (improvement to code, performance, etc)

Description

The existing orderer code allows for a TLS timeshift to be specified
when starting the orderer with a separate cluster port. This is useful
for situations where the consenter TLS certificates have accidentally
expired, preventing quorum from forming, and preventing channel config
updates to replace these certificates.

This change extends the concept to the general orderer port, which can
be optionally re-used, rather than binding to a new port. If the
cluster port is not re-used, then the TLS timeshift parameter specified
in the general TLS section takes precdence over the parameter specified
in the cluster section. Likewise, if there is a separate cluster port,
the parameter in the general TLS section has no impact on the cluster
listener.

The existing orderer code allows for a TLS timeshift to be specified
when starting the orderer with a separate cluster port.  This is useful
for situations where the consenter TLS certificates have accidentally
expired, preventing quorum from forming, and preventing channel config
updates to replace these certificates.

This change extends the concept to the general orderer port, which can
be optionally re-used, rather than binding to a new port.  If the
cluster port is not re-used, then the TLS timeshift parameter specified
in the general TLS section takes precdence over the parameter specified
in the cluster section.  Likewise, if there is a separate cluster port,
the parameter in the general TLS section has no impact on the cluster
listener.

Signed-off-by: Jason Yellick <[email protected]>
@jyellick jyellick requested a review from a team as a code owner August 14, 2020 15:45
@yacovm yacovm merged commit 5d07186 into hyperledger:master Aug 14, 2020
@jyellick
Copy link
Contributor Author

@Mergifyio backport release-2.2
@Mergifyio backport release-2.1

mergify bot pushed a commit that referenced this pull request Aug 14, 2020
The existing orderer code allows for a TLS timeshift to be specified
when starting the orderer with a separate cluster port.  This is useful
for situations where the consenter TLS certificates have accidentally
expired, preventing quorum from forming, and preventing channel config
updates to replace these certificates.

This change extends the concept to the general orderer port, which can
be optionally re-used, rather than binding to a new port.  If the
cluster port is not re-used, then the TLS timeshift parameter specified
in the general TLS section takes precdence over the parameter specified
in the cluster section.  Likewise, if there is a separate cluster port,
the parameter in the general TLS section has no impact on the cluster
listener.

Signed-off-by: Jason Yellick <[email protected]>
(cherry picked from commit 5d07186)
@mergify
Copy link

mergify bot commented Aug 14, 2020

Command backport release-2.2: success

Backports have been created

jyellick pushed a commit that referenced this pull request Aug 14, 2020
The existing orderer code allows for a TLS timeshift to be specified
when starting the orderer with a separate cluster port.  This is useful
for situations where the consenter TLS certificates have accidentally
expired, preventing quorum from forming, and preventing channel config
updates to replace these certificates.

This change extends the concept to the general orderer port, which can
be optionally re-used, rather than binding to a new port.  If the
cluster port is not re-used, then the TLS timeshift parameter specified
in the general TLS section takes precdence over the parameter specified
in the cluster section.  Likewise, if there is a separate cluster port,
the parameter in the general TLS section has no impact on the cluster
listener.

Signed-off-by: Jason Yellick <[email protected]>
(cherry picked from commit 5d07186)

Co-authored-by: Jason Yellick <[email protected]>
@jyellick
Copy link
Contributor Author

@Mergifyio backport release-2.1

mergify bot pushed a commit that referenced this pull request Aug 14, 2020
The existing orderer code allows for a TLS timeshift to be specified
when starting the orderer with a separate cluster port.  This is useful
for situations where the consenter TLS certificates have accidentally
expired, preventing quorum from forming, and preventing channel config
updates to replace these certificates.

This change extends the concept to the general orderer port, which can
be optionally re-used, rather than binding to a new port.  If the
cluster port is not re-used, then the TLS timeshift parameter specified
in the general TLS section takes precdence over the parameter specified
in the cluster section.  Likewise, if there is a separate cluster port,
the parameter in the general TLS section has no impact on the cluster
listener.

Signed-off-by: Jason Yellick <[email protected]>
(cherry picked from commit 5d07186)
@mergify
Copy link

mergify bot commented Aug 14, 2020

Command backport release-2.1: success

Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants