Questions tagged [authoritykeyidentifier]

5 questions
2
votes
2 answers

Cannot find "AuthorityKeyIdentifier" value in x509Certificates object PowerShell

I have no problem extracting the "SubjectKeyIdentifier" value from the x509certificates object, which I do by first setting the X509 object to variable $Cert and then executing the following line: $Cert.Extensions.SubjectKeyIdentifier That value…
F.S.
  • 71
  • 1
  • 4
1
vote
1 answer

How to add DirName and serial to X509v3 Authority Key Identifier

I'm trying to generate a client certificate using OpenSSL and Go code. I have an OpenSSL script that generates the certificate with the required extensions, and I want to achieve the same result using Go code. With OpenSSL options.ext The…
1
vote
1 answer

How do I create the AuthorityKeyIdentifier from the public key in C?

I'm creating a self signed certificate using openssl. I created a key pair using the openssl function RSA_generate_key(): key = RSA_generate_key(1024, 65537, null, 0); Now, I want to generate the Authority Key Identifier for the self signed…
eckes
  • 64,417
  • 29
  • 168
  • 201
-1
votes
1 answer

How to add Authority Ket Identifier Extension to my certificate?

I used default X509Extension: certificateRequest.CertificateExtensions.Add(new X509Extension(new Oid("2.5.29.35"), issuer.GetPublicKey(), false)); But when i decode it, this extension is broken and has a strange order of random symbols. In .NET 7 i…