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 #662

Merged
merged 1 commit into from Oct 25, 2022

Conversation

jewertow
Copy link
Member

This is a manual cherry-pick of #661.

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-1

@maistra maistra deleted a comment from maistra-bot Oct 21, 2022
@maistra maistra deleted a comment from openshift-ci bot Oct 21, 2022
@jewertow
Copy link
Member Author

/test istio-unit-2-1

@maistra-bot
Copy link
Contributor

@jewertow: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

  • /test integration
  • /test integration-maistra-mc

Use /test all to run all jobs.

In response to this:

/test istio-unit-2-1

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@maistra-bot maistra-bot merged commit f1f8449 into maistra:maistra-2.1 Oct 25, 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