x509

IE is not sending Client certificate in TLS mutual authentication

故事扮演 提交于 2021-01-27 02:48:52
问题 I am trying to establish a TLS mutual authentication with third party API. Client certificate is configured fine and when I try to access the end point url through Chrome it works fine(Chrome asks to confirm the certificate in a message box and when I does it the page displays with its content). Same thing when I try to do with IE it is not working and showing this message Cannot securely connect to this page This might be because the site uses outdated or unsafe TLS security settings. If

How can I create an X509Certificate2 object from an Azure Key Vault KeyBundle

扶醉桌前 提交于 2020-12-02 06:03:45
问题 I am using Azure Key Vault to protect our keys and secrets, but I am unsure how I can use the KeyBundle I retrieve using the .net SDK. How can I create an X509Certificate2 object? 回答1: When you import / create a certificate in KeyVault, 3 entities are created: Certificate - contains all the relevant details about the certificate, including its public part (i.e. public key, validity period, thumbprint etc.) Secret - contains the private key (which is the private part of the certificate) in

How can I create an X509Certificate2 object from an Azure Key Vault KeyBundle

ⅰ亾dé卋堺 提交于 2020-12-02 06:03:06
问题 I am using Azure Key Vault to protect our keys and secrets, but I am unsure how I can use the KeyBundle I retrieve using the .net SDK. How can I create an X509Certificate2 object? 回答1: When you import / create a certificate in KeyVault, 3 entities are created: Certificate - contains all the relevant details about the certificate, including its public part (i.e. public key, validity period, thumbprint etc.) Secret - contains the private key (which is the private part of the certificate) in

How to use BouncyCastle to get the certification path between a root CA and an end entity?

落花浮王杯 提交于 2020-08-09 08:19:58
问题 I have a root CA, a set of intermediate CAs and an end entity. All represented as org.bouncycastle.cert.X509CertificateHolder instances. How can I get the certification path (aka certificate chain) between the root and the end entity, or get an exception if no path was found? Here's how to do it with pure Java code, but since I'm already using BouncyCastle, I think it'd be more performant and maintainable to use BouncyCastle for this too -- Also, I'd prefer to avoid converting between Java

How to use BouncyCastle to get the certification path between a root CA and an end entity?

谁说我不能喝 提交于 2020-08-09 08:18:46
问题 I have a root CA, a set of intermediate CAs and an end entity. All represented as org.bouncycastle.cert.X509CertificateHolder instances. How can I get the certification path (aka certificate chain) between the root and the end entity, or get an exception if no path was found? Here's how to do it with pure Java code, but since I'm already using BouncyCastle, I think it'd be more performant and maintainable to use BouncyCastle for this too -- Also, I'd prefer to avoid converting between Java

Java 1.7 Subject Hash of X.509 Certificate OpenSSL 1.0+ Compatible

强颜欢笑 提交于 2020-07-04 20:04:27
问题 I've been struggling with this for a couple of days. I'm working on a Java 1.7 app running in an embedded Linux environment. OpenSSL is not available and I don't have control over what is in the OS image on the device. I need to compute the subject hash of a self-signed X.509 certificate, producing the same result as OpenSSL 1.0+. This existing answer got me started: The new subject hash openssl algorithm differs The code from my test app appears below. My computation works for certs whose

Java 1.7 Subject Hash of X.509 Certificate OpenSSL 1.0+ Compatible

懵懂的女人 提交于 2020-07-04 20:01:55
问题 I've been struggling with this for a couple of days. I'm working on a Java 1.7 app running in an embedded Linux environment. OpenSSL is not available and I don't have control over what is in the OS image on the device. I need to compute the subject hash of a self-signed X.509 certificate, producing the same result as OpenSSL 1.0+. This existing answer got me started: The new subject hash openssl algorithm differs The code from my test app appears below. My computation works for certs whose

Java 1.7 Subject Hash of X.509 Certificate OpenSSL 1.0+ Compatible

感情迁移 提交于 2020-07-04 20:00:20
问题 I've been struggling with this for a couple of days. I'm working on a Java 1.7 app running in an embedded Linux environment. OpenSSL is not available and I don't have control over what is in the OS image on the device. I need to compute the subject hash of a self-signed X.509 certificate, producing the same result as OpenSSL 1.0+. This existing answer got me started: The new subject hash openssl algorithm differs The code from my test app appears below. My computation works for certs whose

Using a X509 certificate for decryption

↘锁芯ラ 提交于 2020-06-29 12:06:35
问题 I have some data of an X509v3 certificate that is used at a central licensing station. My question is is the following amount of information enough for me to decrypt data using C# code? And additionally, how are the certificate properties imported into a project? Do I have to create a certificate file in order to go on? Known to me are: Subject Serial Number Issuer "root-ca" Public Key Algorithm: "rsaEncryption" RSA Modulus, 128 bytes RSA Public Key Exponent X509v3 Extended Key Usage: