Actually -- question title tells almost everything. In earlier Rails (2.x) I've seen code that was accessing client certificate details via request.env
hash. My rack app is receiving call
with env
argument, but this data is not there. How can I access it?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You should enable this on web server e.g. in Apache do SSLOptions +ExportCertData and/or +StdEnvVars. So you will get SSL_* vars in env.