简体   繁体   English

使用PHP读取证书存储中的证书

[英]Reading certificate in certificate store using PHP

How can I read a secure certificate in windows certificate store from PHP (running IIS) 如何从PHP(运行IIS)读取Windows证书存储区中的安全证书

I know how to read it from a certificate file, but I am trying to read it directly from the certificate store. 我知道如何从证书文件中读取它,但是我试图直接从证书存储中读取它。

is this able to be done? 可以做到吗?

This is not directly supported by PHP. PHP不直接支持此功能。 You may be able to utilize one of the Win32 PECL extensions to call the required functions in Windows. 您可能能够利用Win32 PECL扩展之一在Windows中调用所需的功能。

If these don't support what you need, you may have to write your own extension. 如果这些都不满足您的需求,则可能必须编写自己的扩展程序。

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

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