WSO2ESB 4.5.1 axi2 property ssl.client.auth.cert.X509 is always NULL

走远了吗. 提交于 2019-12-23 15:35:47

问题


When using the NIO SSL listener (org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener), there's no HttpServletContext available anymore (obviously), so digging into the possible Axis2 properties that could address the client certificate I found:

ssl.client.auth.cert.X509 

This property, no matter what, is always null (I'm able to access other properties, so my code to access seems fine). Looking into the HttpCoreNIOSSLListener, it seems like it is filled whenever the request is done via HTTPS, but is not working in my case.

Am I looking into the right property? Did anyone succeed in retrieving this property? Is this a bug?


回答1:


Reported issue has been tested on WSO2 ESB 4.8.1 and it is working as expected.



来源:https://stackoverflow.com/questions/13608258/wso2esb-4-5-1-axi2-property-ssl-client-auth-cert-x509-is-always-null

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!