-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[CAMEL-22000] Expose mTLS headers for camel-mllp #20587
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
base: main
Are you sure you want to change the base?
[CAMEL-22000] Expose mTLS headers for camel-mllp #20587
Conversation
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🤖 CI automation will test this PR automatically. 🐫 Apache Camel Committers, please review the following items:
|
| public static final String MLLP_SSL_CLIENT_CERT_ISSUER_NAME = "CamelMllpSslClientCertIssuerName"; | ||
| @Metadata(description = "The SSL client certificate serial number", label = "consumer", javaType = "String") | ||
| public static final String MLLP_SSL_CLIENT_CERT_SERIAL_NO = "CamelMllpSslClientCertSerialNo"; | ||
| @Metadata(description = "The SSL client certificate not before.", label = "consumer", javaType = "String") |
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.
Is the javaType String, or a Date? same for MLLP_SSL_CLIENT_CERT_NOT_AFTER
|
@anders-p-andersson-vgregion-se a test is failing on the CI |
Description
Add TLS headers to Camel-MLLP consumers when using mTLS, just like camel-netty does for incoming traffic. These headers exposes Subject, certificate validity dates, serial number and issuer name.
Target
mainbranch)Tracking
My Jira issue: https://issues.apache.org/jira/browse/CAMEL-22000
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.