Add listener mTLS support with OCI CAs and CA bundles - #154
Conversation
|
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application. When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated. If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public. |
2db0a94 to
b20fb17
Compare
Signed-off-by: Matt Holland <matt.holland@oracle.com>
b20fb17 to
808d7c9
Compare
Signed-off-by: Matt Holland <matt.holland@oracle.com>
Signed-off-by: Matt Holland <matt.holland@oracle.com>
Signed-off-by: Matt Holland <matt.holland@oracle.com>
Signed-off-by: Matt Holland <matt.holland@oracle.com>
|
Spoke with a reviewer directly, they asked me to swap this to JSON style config similar to https://docs.oracle.com/en-us/iaas/Content/ContEng/Tasks/contengsettingupnativeingresscontroller-configuring.htm#contengsettingupnativeingresscontroller_configuringcookie-basedsessionpersistence |
Closes #155
Summary
oci-native-ingress.oraclecloud.com/client-ca-ocidsannotation for listener mTLS.oci-native-ingress.oraclecloud.com/client-ca-verify-depthannotation, with a default verification depth of 3.Validation
go test ./...go vetfor all changed packagesLive validation was completed in a test environment using an OCI CA Bundle:
OCI Certificates service CA OCIDs and CA Bundle OCIDs use the same
trustedCertificateAuthorityIdslistener field. Both OCID forms are covered by parsing and reconciliation tests.