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?
You should enable this on web server eg in Apache do SSLOptions +ExportCertData and/or +StdEnvVars. So you will get SSL_* vars in env.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.