RESTlet 2.1无法获得客户端证书 [英] RESTlet 2.1 can't get client certificate

查看:121
本文介绍了RESTlet 2.1无法获得客户端证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近将Restlet更新到了2.1版,并且我不再能够获得客户端证书.我正在使用获取客户证书的新方法

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();

我正在使用CURL发送我的身份验证信息

I'm using CURL to send my authentication info

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

有什么想法为什么在restlet 2.1中不起作用?

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

推荐答案

您应升级到2.2版,该版本更改了内部HTTP连接器并应恢复此属性.

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

这篇关于RESTlet 2.1无法获得客户端证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆