FAQ Database Discussion Community


Unable to get local issuer certificate while processing chain

ssl,openssl,x509,pki,pkcs#12
I do have private key(my_ca.key) and public key(my_cert.crt) which is signed by DigiCert. Now I want to create RA(Registration Authority) and sign it by my private key . Here is the way I tried to do that. But when I try to export private and public key as pkcs12 file...

How to create a CA with openssl *with minimal power*

security,ssl,openssl,certificate,pki
There are already answers about generating self signed certificate with openssl like this. However, what I want is a certificate that can do nothing but authenticate and encrypt the traffic to predefined websites. A certificate generated by the following command openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days...

Generating a self-signed X509Certificate2 certificate with its private key

c#,.net,winapi,pki,x509certificate2
I'm not the most familiar with the unmanaged cryptography library in the Windows API, but alas I am trying to generate a self-signed X509Certificate2 certificate. Here is the complete code: using System; using System.Security; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Security.Cryptography.X509Certificates; namespace Example { [StructLayout(LayoutKind.Sequential)] public struct SystemTime { public short...

Use python to access a site with PKI security

python,python-2.7,ssl,urllib2,pki
I have a site that has PKI security enabled. Each client used either a card reader to load their certificate, or the certificate is installed in the IE certificate storage on their box. So my question are: How can I use either the card reader certificate or the certificate stored...

How to sign a certificate request using openssl?

openssl,certificate,signing,pki
For testing, I'm trying to do these 3 steps: generate a CA certificate for "My Own CA Company" generate a certificate request for another entity "My Customer" sign the request using the CA certificate I'm failing at the last step (see below). I think my problem is that I have...