-
Notifications
You must be signed in to change notification settings - Fork 169
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
[THREESCALE-11404] Adding support for CRL and OCSP #1503
Merged
tkan145
merged 12 commits into
3scale:master
from
tkan145:THREESCALE-11404-crl-and-ocsp
Mar 10, 2025
Merged
[THREESCALE-11404] Adding support for CRL and OCSP #1503
tkan145
merged 12 commits into
3scale:master
from
tkan145:THREESCALE-11404-crl-and-ocsp
Mar 10, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd952f8
to
680ea5f
Compare
680ea5f
to
3f595c0
Compare
20e5708
to
5bad578
Compare
5bad578
to
8b1cb6b
Compare
635d76c
to
b03fc49
Compare
eguzki
reviewed
Mar 4, 2025
Previously, when the certificate was provided as a single line string, the openssl library would normalize the string before converting it to a format valid for X509. However, this was ignored when we migrated to lua-resty-openssl.
3c0b6bf
to
17b9e5b
Compare
eguzki
approved these changes
Mar 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! 🎖️
consider adding a new dev environment (on a follow up PR) with all the settings from the verification step included. It is nice to have a OCSP scenario easy to reproduce.
tkan145
added a commit
to tkan145/APIcast
that referenced
this pull request
Mar 19, 2025
In PR 3scale#1503 we return nil and error in case of an error, however some code paths do not handle the error but instead check the error field of the response object and lead to unexpected behavior. With this PR, we will return a response object with the error field set.
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
https://issues.redhat.com/browse/THREESCALE-11404
Notes
Verification steps
Prepare certs
Makefile
as followintermediate.cnf
Prepare docker
listen-tls
folderdocker-entrypoint.sh
Verify CRL
apicast-config.json
Replace
<intermediate_cert>
with the content fromcert/intermediate.cert.pem
and<crl_cert>
with content fromcert/intermediate.crl.pem
This time you should receive 400
Verify OCSP
You should receive 400 this time. Also check for the following line the the log
NOTE: if you see
unkown
status in the log, stop the container and get inside thecert
folder and runmake crl
to update the index file