从SSL会话的是mod_mono检索客户端证书(在Apache 2.2.2(红帽)) [英] Retrieving client certificate from SSL session in mod_mono (in Apache 2.2.2 (Red Hat))

查看:134
本文介绍了从SSL会话的是mod_mono检索客户端证书(在Apache 2.2.2(红帽))的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个.NET Web服务在历史上只IIS 6/7下运行是mod_mono。

I am trying to set up a .NET web service in mod_mono that has historically has only run under IIS 6/7.

大多数时候效果很好,除了一个小细节:Web服务应该登录时,连接在HTTPS建立了客户端证书

Most of it works well, except for one little detail: The web service is supposed to log the client certificate when the connections are made over HTTPS.

我有我的Apache服务器的mod_ssl与运行,我可以用一个客户端证书服务的成功连接。我在IIS 7验证了我的网络服务,并看到它能够拿起客户端证书,如果它是present。

I have my Apache server running with mod_ssl and I can make successful connections to the service with a client certificate. I have verified my web service in IIS 7 and seen that it is able to pick up the client certificate if it is present.

看来, ClientCertificate.Is present 返回是mod_mono始终为false。一些谷歌上搜索发现,这一直是一个问题,在过去的(它只能工作正常下XPS)。
我愿意相信,我有错误配置的东西:-)任何人能请点我在正确的方向?

It appears that ClientCertificate.IsPresent returns false always in mod_mono. Some googling reveals that this has been an issue in the past (where it only worked correctly under XPS). I would like to believe that I have mis-configured something :-) Can anybody please point me in the right direction?

最好的问候,
周华健

Best regards, Emil

推荐答案

呵呵,我需要设置 SSLOptions + ExportCertData 在httpd.conf,一切工作就像一个魅力: - )

Oh, I needed to set SSLOptions +ExportCertData in httpd.conf and everything worked like a charm :-)

这篇关于从SSL会话的是mod_mono检索客户端证书(在Apache 2.2.2(红帽))的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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