[英]how to get current ssl client X509 certificate in play framework 1.2.x
At play! 正在上映! documentation here http://www.playframework.org/documentation/1.2.3/configuration in the section trustmanager says that with
play.netty.clientAuth
you can request client certificate for the SSL handshake, http://www.playframework.org/documentation/1.2.3/configuration(位于trustmanager部分)中的文档说,使用
play.netty.clientAuth
可以请求SSL握手的客户端证书,
I want to get the client certificate for authentication against my own database in a play! 我想在戏剧中获得用于针对我自己的数据库进行身份验证的客户端证书! 1.2.x controller, how could I do this?
1.2.x控制器,我该怎么做?
The document you mentioned is all about making client - Play server connection secure, not about DB connection. 您提到的文档都是关于确保客户端-Play服务器连接安全的,而不是数据库连接。 If you want secure DB connection (don't know what DB you are using) - each DB has its own way of doing the same - check these links PostgreSQL and MySQL .
如果您想要安全的数据库连接(不知道您使用的是哪个数据库),则每个数据库都有自己的相同方法,请检查这些链接PostgreSQL和MySQL 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.