certificate-store

Possible to access LocalMachine cetificates in MY store using SunMSCAPI?

若如初见. 提交于 2020-01-07 03:51:53
问题 Is there an Oracle reference somewhere that clearly states that you cannot access the LocalMachine certificates in the MY store using the SunMSCAPI provider? Thanks, Bert 回答1: Without knowing more about your particular error, there is a bug reported here 回答2: We proved this by using the free Microsoft/Sysinternals tool PSExec.exe. By running the same Java program as either a regular user or a system user, we could determine the regular user could not obtain the LocalMachine certificate. The

Possible to access LocalMachine cetificates in MY store using SunMSCAPI?

六月ゝ 毕业季﹏ 提交于 2020-01-07 03:51:11
问题 Is there an Oracle reference somewhere that clearly states that you cannot access the LocalMachine certificates in the MY store using the SunMSCAPI provider? Thanks, Bert 回答1: Without knowing more about your particular error, there is a bug reported here 回答2: We proved this by using the free Microsoft/Sysinternals tool PSExec.exe. By running the same Java program as either a regular user or a system user, we could determine the regular user could not obtain the LocalMachine certificate. The

PowerShell fails when trying to read certificate store with “The specified network resource or device is no longer available”

不问归期 提交于 2020-01-02 20:18:09
问题 I was trying to find a specific certificate on my machine, and I ran into an odd issue. I was seeing The specified network resource or device is no longer available errors when calling: Get-ChildItem -Path "XXXXX" -Recurse Where "XXXX" was the thumbprint of the certificate I was looking for. To try to narrow down the issue, I started by removing the thumbprint of my command (i.e. calling Get-ChildItem -Recurse ), and found that the script failed when trying to read from the UserDS certificate

SSL Connection, Windows Certificate Store and CAPI engine

妖精的绣舞 提交于 2019-12-30 10:47:26
问题 I am creating an SSL connection using OpenSSL API. As we know in a SSL handshake, series of Certificate Authentication occurs for Server or Client. Now for client certificate authentication, the client's certificate and associated private key are stored in Windows Certificate Store . This certificate with private key is imported into the store after combining them into a pfx format and then that pfx file is imported to the windows Cert store. Now while importing this pfx file using mmc snap

What's the difference between the Personal and Web Hosting certificate store?

╄→гoц情女王★ 提交于 2019-12-20 09:26:00
问题 In Internet Information Services Manager, you're given the option between the Personal and the Web Hosting certificate store when creating or importing a certificate. What's the difference? 回答1: from IIS.NET: The key difference between Web Hosting store and Personal store is that Web Hosting store is designed to scale to higher numbers of certificates. For lightweight scenarios (when you have less than 20-30 certificates) you can use any, Personal or WebHosting store. 回答2: addition to Sam

Install certificates in to the Windows Local user certificate store in C#

孤街醉人 提交于 2019-12-17 15:52:01
问题 I'm writing a Windows service that needs several certificates in the certificate store in order to connect to a third party web service. On my installer I call a small application (C#) that creates a user to run the service as. It works fine. I now need to install about 10 certificates (don't ask!) into the users certificate store, but can't find any succinct programmatic way to do so. Any hints? Or am I going to have to use COM interop... 回答1: Turns out you first need to impersonate the user