如何从 uwp 应用代码安装 ssl 证书

问题描述 投票:0回答:1

我需要通过我的 uwp 应用程序代码将自签名 SSL 证书安装到 Windows 设备上的受信任根目录,如何实现此目的?

c# windows security ssl uwp
1个回答
0
投票

UWP 中没有这样的 API。

如果要在UWP中使用PowerShell命令,则需要使用桌面桥来使用命令。建议参考这里Stefan Wick的博客https://stefanwick.com/2018/04/06/uwp-with-desktop-extension-part-1/

© www.soinside.com 2019 - 2024. All rights reserved.