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

Relax restrictions on CLI certificate #589

Merged
merged 1 commit into from Feb 13, 2020

Conversation

nirenjan
Copy link

Prior to this change, a reset of the system clock would potentially
cause the CLI client to fail to connect to the REST server, since the
system clock would typically reset to a time earlier than the validity
period of the user certificate. This would result in the TLS handshake
failing since the client certificate would be rejected.

This change relaxes the certificate checks for the client certificate
and only requires that the CLI client send a certificate. While this
does make the system slightly less secure, it is only applicable to the
listener for the CLI interface. Therefore, this does not expose any new
security holes for the REST server.

Prior to this change, a reset of the system clock would potentially
cause the CLI client to fail to connect to the REST server, since the
system clock would typically reset to a time earlier than the validity
period of the user certificate. This would result in the TLS handshake
failing since the client certificate would be rejected.

This change relaxes the certificate checks for the client certificate
and only requires that the CLI client send a certificate. While this
does make the system slightly less secure, it is only applicable to the
listener for the CLI interface. Therefore, this does not expose any new
security holes for the REST server.
@jeff-yin jeff-yin merged commit 9a11222 into dell_sonic Feb 13, 2020
@nirenjan nirenjan deleted the relax-CLI-cert-restrictions branch February 13, 2020 00:55
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.

None yet

4 participants