-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat(services): add certificate support for service protocol grpcs
#11529
Conversation
85de866
to
08a1053
Compare
grpcs
grpcs
08a1053
to
11cbaa3
Compare
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.
LGTM
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.
Sorry, I found other problem. For this change, unit test is not enough, we need write integration test for grpc upstream tls. For example https://github.com/Kong/kong/blob/master/spec/02-integration/05-proxy/18-upstream_tls_spec.lua
60e3165
to
9fdfbe6
Compare
d7934f3
to
83a432e
Compare
end) | ||
|
||
if strategy ~= "off" then | ||
describe("grpcs with tls", function() |
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.
We need to add lousy cases for this test and use the wrong ca_certificate and cert for the bad case. You'll be able to follow this to do it. https://github.com/Kong/kong/blob/master/spec/02-integration/05-proxy/18-upstream_tls_spec.lua#L350
83a432e
to
4674a5c
Compare
Move this PR target to 3.6.0.0 |
4674a5c
to
68b4d6c
Compare
68b4d6c
to
082e6c0
Compare
95e8af9
to
0f240d9
Compare
0f240d9
to
764ee31
Compare
764ee31
to
0b0cbed
Compare
Summary
Adds certificate support for service protocol
grpcs
Refs:
https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_ssl_verify
https://nginx.org/en/docs/http/ngx_http_grpc_module.html#grpc_ssl_certificate
Checklist
CHANGELOG/unreleased/kong
or addingskip-changelog
label on PR if unnecessary. README.mdFull changelog
Issue reference