Questions tagged [certificate]

A certificate is an electronic document used in cryptography.

In cryptography, a public key certificate (also known as a digital certificate or identity certificate) is an electronic document which uses a digital signature to bind a public key with an identity — information such as the name of a person or an organization, their address, and so forth. The certificate can be used to verify that a public key belongs to an individual.

See the Wikipedia entry for more background and concepts regarding certificates.

9943 questions
4
votes
2 answers

Use existing let's encrypt certificates in caddy 2

I'm evaluating the possibility of changing my main webserver from nginx to caddy 2. Is there any way to use existing letsencrypt certificates managed by certbot in caddy 2?
fimdomeio
  • 71
  • 1
  • 6
4
votes
2 answers

Does the certificate a SSL connection/state "points" to change if I load a new certificate in OpenSSL?

I am building an application that will enable users to connect to the same server. Rather than the application/device using its own certificate/private key, it is important to ensure that each user has their own certificate/private key to use for…
Chris
  • 795
  • 1
  • 12
  • 25
4
votes
1 answer

How does SSL handshake/protocol work if client already has server certificate?

My experience with the SSL/TLS protocol and then OpenSSL library is very limited. Essentially I started learning about it this week, yet I feel proud of the amount of knowledge I have learned thus far. I do have a lingering question though and…
Chris
  • 795
  • 1
  • 12
  • 25
4
votes
2 answers

Generate a CrypoAPI (CAPI) Private Key

I am trying to implement encryption at rest using an IXmlEncryptor. Specifically using a CertificateEncryptor. (This is part of the IXmlRepository system for sharing keys for decrypting cookies and general key management in ASP.NET Core.) This…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
4
votes
1 answer

Use X509Certificate2 with Windows certificate store, HSM, and Azure Key Vault

I have many methods like the below which uses X509Certificate2.PrivateKey public SomeValue DoSomething(X509Certificate2 cert) { // do something that needs the cert.PrivateKey } They are working well so far with certificates that…
Thuan
  • 1,618
  • 1
  • 10
  • 21
4
votes
1 answer

Why do I get RemoteCertificateNameMismatch?

I have the following C# client code to check incoming certificate in a SSL communication(with WCF) : private bool ValidateClientCertificate(System.Security.Cryptography.X509Certificates.X509Certificate cert,…
Banshee
  • 15,376
  • 38
  • 128
  • 219
4
votes
0 answers

openssl command generates an empty .key file from .pfx file

When I try to generate a key from a pfx certificate file, it creates an empty file openssl pkcs12 -in test.pfx -nocerts -out test.key -nodes I executed the command on git bash, Windows server 2019. The command seems to run without stoping because I…
user11508700
4
votes
2 answers

Add private key to certificate or vice versa

the problem is, that I want to create a new private/public key pair for a new App. So i followed the documentation (http://developer.apple.com/ios/manage/certificates/team/howto.action) and it said to first created a new key pair. Ok, than i got…
NicTesla
  • 1,626
  • 5
  • 21
  • 35
4
votes
3 answers

Accessing Key vault in Azure active directory App registration

Is there a way to connect an Azure Active Directory application to a key vault to access a certificate rather than uploading the certificate file in the Certificate & Secrets section in the Azure portal?
4
votes
0 answers

Adding certificates to HTTP request in NestJS

I am working on a NestJS API and am wanting to know about outgoing requests and certificates. We have a request we need to hit from within the API to allow it to run, but this API requires specific certificates. I have the certificates on my…
Sean
  • 155
  • 2
  • 7
4
votes
1 answer

Adding self-signed certificate as trusted in macOS doesn't work properly

I'm trying to create a simple Makefile command in order to install self-signed certificate for local development of an Angular app. When I do this manually (by double-clicking on the certificate file, then opening a detail of it and setting…
Dawid Zbiński
  • 5,521
  • 8
  • 43
  • 70
4
votes
1 answer

WCF Service that identifies client by certificate

we've got a WCF Service using BasicHttpBinding with server- and client-certificates. We are using Transport security: So far everything works (client calls a…
Hinek
  • 9,519
  • 12
  • 52
  • 74
4
votes
1 answer

Github Actions - Where do I upload the Certificates and provisioning profiles

I am implementing github actions in my project for Build, test and Deploy. While Building the app, it gives me an error, "Code Signing Error: No profile for team 'XXXX' matching 'XXXX' found" Xcode couldn't find any provisioning profiles matching…
Arpit Dhamane
  • 503
  • 7
  • 19
4
votes
0 answers

Certificates were removed when I install using C#

I installed a certificate using the following code: X509Store store = new X509Store(StoreName.Root); store.Open(OpenFlags.ReadWrite); X509Certificate2Collection collection = new X509Certificate2Collection(); collection.Import("Path", "Password",…
4
votes
1 answer

The operation was canceled by the user in an application that uses digital signature

The idea of the web app is to sign documents with a digital signature that is loaded from a smart card. It is published and set to work on a local user machine. I am using IIS for that matter to set the bindings and enable to accept client…
grozdeto
  • 1,201
  • 1
  • 13
  • 34