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

How to translate a MakeCert command to New-SelfSignedCertificate command?

I'm following this tutorial to implement a licensing solution to my software. At some point the tutorial ask to run a makecert command: makecert -pe -ss My -sr CurrentUser -$ commercial -n "CN=" -sky Signature But at this time…
Bastien Vandamme
  • 17,659
  • 30
  • 118
  • 200
4
votes
4 answers

How to create a single line x509 certificate that can be parsed by OpenSSL commandline tool

I wanted to prepare a single line x509 Certificate string which can be parsed by OpenSSL command-line utility. I created a private key using OpenSSL command-line utility, openssl genrsa -out privatekey.pem 1024 And then created a public…
anoop.babu
  • 405
  • 2
  • 6
  • 13
4
votes
1 answer

Getting a letsEncrypt CA certificate for AWS Elastic IP

Guide: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html Problem: I have to make an integration between exact-online and other websites. For this I have a java-backend running on a Amazon linux 2 EC2-server, with a…
SimonartM
  • 668
  • 2
  • 11
  • 26
4
votes
1 answer

Import-PfxCertificate not saving certificate in designated System Store Location

I am trying to install a certificate provided by mitmproxy.org via powershell and windows is not saving the certificate in the correct location. Commands I tried to run: Get-ChildItem -Path c:\mitmproxy-ca-cert.p12 | Import-PfxCertificate…
miyagisan
  • 805
  • 1
  • 9
  • 19
4
votes
1 answer

How to access a certifciate with error: "Unable to retrieve certificates because the thumbprint is not valid"

I'm getting the error Unable to retrieve certificates because the thumbprint is not valid. Verify the thumbprint and retry. when I try to use a certificate in the LocalMachine certificate store. I've had an admin account install the certificate…
Mark-DG1
  • 220
  • 3
  • 8
4
votes
1 answer

How to generate a CRL (certificate revocation list) file

I'm using self-signed certificates for testing, how can I generate certificate revocation list to test cert verification? Has keytool in JDK provided such functionalities? Thanks!
Felix
  • 175
  • 1
  • 2
  • 7
4
votes
1 answer

BasicHttpBinding using transport sercurity with Self signed Certificate

I have WCF service, using both BasicHttpBinding and NetTcpBinding at different endpoints within one ServiceHost. NetTcp is using a self signed certificate, which is loaded from file, all were well untill I try to actually make use of the…
Yuan
  • 2,690
  • 4
  • 26
  • 38
4
votes
1 answer

App group created in Xcode does not appear in developer account console

I've created a share extension target for an ad-hoc-distributed target in Xcode. In order to share user defaults between the main app and the extension, I've enabled the app group capability for both targets, adding a new app group. Now, when I view…
Phlippie Bosman
  • 5,378
  • 3
  • 26
  • 29
4
votes
0 answers

Having problems getting electron builder to sign a mac build

I don't know why electron-builder cannot find a valid identity. Using the environment variable to debug, I always end up with the same problem where it says there is no valid identity despite listing there to be 1 valid identity underneath. I have…
PacothePig
  • 71
  • 3
4
votes
2 answers

How to print public key from certificates using "cryptography" library in Python2?

I have to extract public key from .pem certificate using cryptography library in Python2 but am able to get only public key object . In cryptography documentation , I found this code from cryptography.hazmat.primitives.asymmetric import…
4
votes
1 answer

Implementing certificate authorization in asp.net

First of all I'm sorry for my bad english. In past two days i read a lot, but didn't find out solution for my problem. I need to implement such authorization: User openning web page, special form appears. On this form just one button "Choose…
Dmitriy
  • 1,033
  • 1
  • 8
  • 9
4
votes
2 answers

How to sign java applet with .pfx file?

I was trying to sign a jar applet archive with our company .pfx certificate using this guide (and few others from the internet): http://www.globalsign.com/support/ordering-guides/SignJavaCodeAppletsPFX.pdf Everything seems to be fine, but when I…
Piotr Kukielka
  • 3,792
  • 3
  • 32
  • 40
4
votes
0 answers

curl SSL certificate

I have problem with downloading docker on ubuntu server. if I put : curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - I get : curl: (60) SSL certificate problem: unable to get local issuer certificate More details here:…
Marko Zadravec
  • 8,298
  • 10
  • 55
  • 97
4
votes
2 answers

.NET Core adding client certificate to POST to Kestrel REST API on Linux fails server cert validation

I am using .NET Core 2.1, Kestrel on Linux. My web application acting as client makes a request as so (following guides dotted around, this seems to the way to go): var handler = new HttpClientHandler(); handler.ClientCertificateOptions =…
PKCS12
  • 407
  • 15
  • 41
4
votes
1 answer

Remove Expired Certificates with Powershell

I have a simple script to show all certificates on a server, I would like to expand that script to then remove all expired certificates I have tried several scripts from MS and 3rd parties to find a remove certs but have had no luck with them…