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
1 answer

Converting PEM file to PKCS8 programmatically

I want to convert pem file to pk8. I can do this with openssl on terminal as ; openssl pkcs8 -topk8 -inform PEM -outform DER -in client-key.pem -out client-key.pk8 -nocrypt But I need to do this programmatically on java. Its look like there is a…
bguler
  • 237
  • 1
  • 5
  • 11
4
votes
2 answers

Cannot exchange AccessToken from Google API inside Docker container

I have a web app written in Go, use oauth2 (package golang.org/x/oauth2) to sign user in by Google (follow this tutorial https://developers.google.com/identity/sign-in/web/server-side-flow). When I test app on local, it works fine but when I deploy…
Robin Huy
  • 960
  • 7
  • 23
4
votes
2 answers

Azure Key Vault: unable to get a cert from kv when deployed

I have a webjob getting a certificate from azure key vault service and locally i have no problem accessing/retrieving this cert from kv. However, when this webjob gets deployed, I get this error: System.Security.Cryptography.CryptographicException:…
Sahngah Lee
  • 123
  • 1
  • 1
  • 9
4
votes
1 answer

curl: unable to get local issuer certificate with self signed cert

I have read many posts mentioning issues with local issuer certificate, but I failed to find an answer for my case. I have setup a nginx proxy, that accepts client certificates for authorization. Everything works good from a browser that has…
Alkis Mavridis
  • 1,090
  • 12
  • 28
4
votes
1 answer

Configure a second computer for iOS app distribution

I've followed the guidelines and configured fine my desktop for Ad-Hoc distribution (requested certificate from the CA, created the main Certificate with my name, created a provisioning associated to devices, and so on). Now I have my laptop and I…
Alberto M
  • 1,608
  • 1
  • 18
  • 42
4
votes
1 answer

Default Trusted root certification authorities for a new Microsoft Windows installation

My understanding is that a brand new installation of Microsoft Windows [10] comes with a default set of Certificate root authorities. Where can I view that list? For instance in the case apple it is the following: List of available trusted root…
MHOOS
  • 5,146
  • 11
  • 39
  • 74
4
votes
2 answers

Xcode import .cer and .mobileprovision file

I use Xcode 9 for building iOS application, and for that purpose I use my apple account. Now I got from client certificate and provision profile in .cer and .mobileprovision format. Can someone explain me how to use them and import them in Xcode, or…
Sasa
  • 553
  • 7
  • 25
4
votes
2 answers

macOS installer certificate evaluation error in Keychain: Invalid Extended Key Usage

I generated a mac installer certificate for use with code signing and am getting an error that is preventing me from using certificate to sign installer When evaluating certificate in keychain access, I got an error: Invalid Extended Key Usage. Here…
Chris Muench
  • 17,444
  • 70
  • 209
  • 362
4
votes
1 answer

How to get a certificate store from a smart card (USB Token) using CNG?

I'm using Crypto API's CryptAcquireContext function (https://learn.microsoft.com/en-us/windows/desktop/api/Wincrypt/nf-wincrypt-cryptacquirecontexta) to get access to my Certificate Store contained on my USB Token, and this is working like a…
4
votes
3 answers

Git - "SSL certificate issue: self signed certificate in certificate chain"

I just started getting this error when trying to push my changes. I don't know what changed on my system and there should not be any self-signed certs in this connection. Git has been uninstalled and re-installed. Git appears to be using the proper…
SCote
  • 664
  • 1
  • 8
  • 19
4
votes
1 answer

How to generate a proof of possesion for a X509 certificate using OpenSSL?

I need to generate a proof of possession, signing a verification code with my private key. I did not find a question related to this, here in Stack Overflow, and I am not finding some reference on Internet. I am following this tutorial, but I want…
Dalton Cézane
  • 3,672
  • 2
  • 35
  • 60
4
votes
3 answers

Why I need a SSL certificate?

I have a short question: why do I need a SSL certificate (I mean only the certificate not the SSL connection)? In my case Google Chrome deteced, that the connection is encrypted and secure, but everything is red because I created the certificate by…
Max Mister
  • 129
  • 9
4
votes
1 answer

Random "could not establish secure channel for SSL/TLS" errors

I have a WCF application hosted in IIS that work as an intermediate for two other different SOAP web services A & B. Calling A service operations from my application is always OK. Calling B service operations from my application is problematic…
4
votes
0 answers

certutil -repairstore opening the smartCard

I am trying to install the certificate on an IIS 8.5 server on Windows server 2012. When going to the IIS manager, I went to 'Server certificates' -> Complete Certificate Request, I select my certificate .p7b and I go to 'Binds' to select the…
Vinícius Matos
  • 144
  • 1
  • 9
4
votes
2 answers

Access client certificate properties from WCF Service

I am writing a WCF service where I need to access the Hash Code of client certificates that are used to connect to the service. I am looking for a property or method similar to Request.ClientCertificate from ASP.NET 2.0 days but cannot find anything…
lowds
  • 1,085
  • 8
  • 12