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

Update keyUsage to allow ECC and RSA cipher suites #38

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

Zerpet
Copy link
Contributor

@Zerpet Zerpet commented Mar 1, 2022

By having digitalSignature on the client and keyEncipherment on the
server, we may run into this problem:

https://groups.google.com/g/rabbitmq-users/c/3TQFT8jX-bk?pli=1

Some versions of OpenSSL do not seem affected, or perhaps they had a
bug back in 2018. In openssl 1.0.2za-fips 24 Aug 2021, we receive the
"insufficient security" error if the client and server certificates do
not have both key usages. According to this doc:

https://rabbitmq.com/ssl.html#key-usage-effects-on-cipher-suites

The filtering based on key usage will result in client and server not
having any common cipher suites to agree on.

By having digitalSignature on the client and keyEncipherment on the
server, we may run into this problem:

https://groups.google.com/g/rabbitmq-users/c/3TQFT8jX-bk?pli=1

Some versions of OpenSSL do not seem affected, or perhaps they had a
bug back in 2018. In openssl `1.0.2za-fips 24 Aug 2021`, we receive the
"insufficient security" error if the client and server certificates do
not have both key usages. According to this doc:

https://rabbitmq.com/ssl.html#key-usage-effects-on-cipher-suites

The filtering based on key usage will result in client and server not
having any common cipher suites to agree on.

Signed-off-by: Aitor Perez Cedres <acedres@vmware.com>
Copy link
Collaborator

@lukebakken lukebakken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just missed this when I put #8 together, thanks!

@lukebakken lukebakken merged commit 5cc4e4a into rabbitmq:master Mar 1, 2022
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