Questions tagged [certificate-store]

A location on a computer used to store certificates, often in categories based on usage.

A location on a computer used to store certificates, often in categories based on usage.

106 questions
6
votes
1 answer

CertGetCertificateChain with a supporting memory store and Certificate Trust List

I need to mark a custom self-signed root certificate as trusted during certificate chain validation and, overall, I want to rely on the system API as much as possible. I create a temporary memory store. HCERTSTORE certStore =…
Eugen
  • 313
  • 2
  • 9
6
votes
1 answer

Browser-like behavior on invalid/self-signed certificates

It feels like I searched the whole web already, but all I found are hints on how to accept an invalid or self-signed certificate automatically. (Using custom HttpClient and SSLSocketFactory - I already got that working.) But what I want for my app…
fero
  • 5,652
  • 26
  • 56
5
votes
3 answers

How can I access windows root certificate authorities certificates with Delphi?

Question related to Lazarus or Delphi. Is there a way to programmatically access trusted Root Certificate Authorities certificates in Windows. I know there is GUI based tool in Windows called 'mmc.exe', but I need to access certificate files (like…
whoosaa
  • 75
  • 1
  • 6
5
votes
2 answers

cacerts - JDK or JRE

I need to add a trusted certificate into cacerts on one of my servers. I can see that it goes under $JAVA_HOME/jre/lib/security/ from other questions But I also have a second cacerts file, two locations are: C:\Program…
achAmháin
  • 3,944
  • 3
  • 12
  • 39
5
votes
4 answers

Access Local Machine Certificate Store in Java?

Is it possible to access certificates stored in the Local Machine store (rather than Current User) from a Java Servlet? I've tried using the MSCAPI provider opening the "Windows-MY" and "Windows-ROOT" stores, but neither contain certificates from…
Petey B
  • 10,781
  • 22
  • 73
  • 101
5
votes
1 answer

which cacert is in use?

I have an example command-line java application from a vendor; it depends on SSL authentication. I have the vendor's certificate(s), I can see them in my java 7 cacerts file (windows, c:\program files\java\jdk1.7.0_07\jre\lib\security\cacerts). If…
arcy
  • 11,973
  • 8
  • 54
  • 89
5
votes
2 answers

Adding a Certificate to x509Store doesn't do anything C#

I'm trying to add certificates but the Add function doesn't seem to do anything. I have two certificates. Both I can add manually by right clicking and saving to the personal "testStore" store but they don't get saved when I try to add them…
user3652261
  • 181
  • 1
  • 6
4
votes
0 answers

Certficate Store in Windows "Trusted People" "Trusted Devices"

I'm curious when is "Trusted People" and "Trusted Devices" folder used in the Windows Certificate Store. I'm asking because I need to store Leaf (Personal) Certificates of other parties somewhere. This is a desktop application, I don't want to…
Gabor
  • 119
  • 2
  • 9
4
votes
0 answers

SSL Connection, Windows Certificate Store and CAPI engine

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…
User1234
  • 1,341
  • 3
  • 17
  • 30
4
votes
1 answer

How to import private key of self-signed certificate using certmgr in mono

I am facing an issue where I am unable to import a certificates Private-Key into monos certificatestore/keypairstore using the built in tool certmgr. Adding a Certificates Public Version to the store works fine using user@maschine:~certs$ certmgr…
nozzleman
  • 9,019
  • 4
  • 32
  • 52
4
votes
1 answer

How can I remove a certificate from my app's certificate store?

I've got Windows Store/Phone universal app that will have to store certificates. I have no trouble loading the certificates into the app's CertificateStore, and using them. But when it comes to deleting them I have trouble. For example, the…
Gordon
  • 2,600
  • 2
  • 21
  • 31
3
votes
0 answers

How to get Node to trust root certs in my Windows OS certificate store?

My organization has pre-installed its own root certificates in our machines to enable it to inspect HTTPS traffic. The browsers don't complain since they trust the OS certificates by default. This causes me all sorts of problem using NodeJS…
BeetleJuice
  • 33,709
  • 16
  • 78
  • 137
3
votes
1 answer

How to use Windows Certificate Store with Jetty?

I'm trying to use the Windows Certificate Store from Jetty for HTTPS communication. After setting up a web-application on client site, it should be easier for the client to update an expired certificate in the Windows Certificate Store than having…
flavio.donze
  • 6,077
  • 9
  • 41
  • 69
3
votes
1 answer

How to get the public key from a certificate in windows system certstore

I have added a certificate to the system store with something like this: PCCERT_CONTEXT pCertContext; HCERTSTORE hCertStore; CRYPT_KEY_PROV_INFO provInfo; if (pCertContext = CertCreateCertificateContext(MY_ENCODING_TYPE, certDER, certSize)) { …
3
votes
1 answer

"Keyset does not exist" when trying to instantiate a new RSACryptoServiceProvider

I am trying to automate deployment of certificates, including managing permissions on the private key. Using this question, I have cobbled together some code that should update permissions for a certificate: public static SetPermissionsResult…