RESTlet 2.1 can't get client certificate

无人久伴 提交于 2019-12-11 02:26:10

问题


I recently updated restlet to version 2.1 and I'm no longer able to get the client certificate. I'm using the new way to get client certificate

List<Certificate> r =  getRequest().getClientInfo().getCertificates();

I'm using CURL to send my authentication info

curl -k -E admin.pem https://localhost:8111/profile -v

Any idea why this doesn't work in restlet 2.1 ?


回答1:


You should upgrade to version 2.2 which changed the internal HTTP connector and should restore this property.



来源:https://stackoverflow.com/questions/13048855/restlet-2-1-cant-get-client-certificate

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