简体   繁体   English

认证如何工作才能获得安全的Web服务?

[英]How does certification work to reach a secured web service?

I need to reach a java based web service which is reachable only for certified connections. 我需要到达一个基于Java的Web服务,该服务仅对于经过认证的连接才可以访问。 On my side, the technologie is PHP. 在我这边,技术是PHP。

So, I have to send my certificate signing request to the the certification authority. 因此,我必须将我的证书签名请求发送给证书颁发机构。 I was told that I have to use these instructions : 有人告诉我必须使用以下说明:

curl_setopt($ch, CURLOPT_SSLCERT, "file1"); 
curl_setopt($ch, CURLOPT_SSLKEY, "file2");

My questions are : What are the "file1" and "file2" ? 我的问题是:什么是“ file1”和“ file2”? What will do exactly (unix commands) the certification authority with my certificate request ? 证书颁发机构对我的证书请求的确切要求(unix命令)?

Regards, 问候,

Pat. 拍。

file1 and file2 are the file directories of the certificate-file (file1) and the key-file (file2) file1和file2是证书文件(file1)和密钥文件(file2)的文件目录

For more information on curl_setopt() check this manual: click 有关curl_setopt()更多信息,请查看此手册: 单击

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM