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

OSSM-755: Fix TLS certificates used in security tests #661

Merged
merged 1 commit into from Oct 24, 2022

Conversation

jewertow
Copy link
Member

This is a manual cherry-pick of #657.

Integration tests for features "security.egress.tls.*" and
"security.peer.file-mounted-certs" were failing, because of
failing TLS handshake with an alert message "UNKNOWN CA (48)".

The reason of this failure is that certificates used in those tests
don't pass verification when OpenSSL 1.1.1k or higher is used.
Those certificates pass verification on Ubuntu 20.04 which delivers
OpenSSL 1.1.1f  31 Mar 2020, but do not pass on CentOS Stream 8
or RHEL 8.6 which deliver OpenSSL 1.1.1k  FIPS 25 Mar 2021.

I noticed that root-cert.pem and cert-chain.pem had specified
the same common name, so as a workaround I added SAN as a prefix
to the common name in the cert-chain.pem.

Signed-off-by: Jacek Ewertowski <jewertow@redhat.com>
@jewertow
Copy link
Member Author

/test istio-unit-2-2

@maistra maistra deleted a comment from maistra-bot Oct 21, 2022
@maistra maistra deleted a comment from openshift-ci bot Oct 21, 2022
@maistra-bot maistra-bot merged commit 7d43759 into maistra:maistra-2.2 Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants