Questions tagged [x509certificate]

X509Certificate is the name of .NET and Java classes for handling X.509 certificates.

X509Certificate is a class for handling X.509 certificates in .NET (MSDN Entry) and in Java (Javadoc).

3174 questions
1
vote
0 answers

Apple Notification Services: Windows server requires re-importing the APNs certificate

I've been successfully running Apple Push Notifications on my Windows Development server (win 7) until a weekend power failure at the office caused my box to shut down (it lasted longer than the UPS unit). I then discovered that the push…
1
vote
2 answers

From certificate Alias to PEM File with private key included using Java

I have this code to generate a CER file using the alias: public class TestFromAliasToCER { public static final int KEY_SIZE = 1024; public static final String BEGIN_CERT = "-----BEGIN CERTIFICATE-----"; public static final String…
agfh
  • 48
  • 1
  • 7
1
vote
2 answers

Service Fabric MultiNode X509 Cluster - Timed out waiting for Installer Service to complete

In order to create an Azure SF test environment, I created three azure VMs within a dev test lab. These are to be secured with X509s. I used the information Here & Here The machines are: Windows 2016 Data Centre On the same virtual network All…
1
vote
1 answer

What should be SetCertificate() arguments for this certificate?

For this certificate, what should be the arguments of the following call? I tried the following and it did not work. X509CertificateInitiatorClientCredential.ClientCertificate.SetCertificate( StoreLocation.LocalMachine …
ajeh
  • 2,652
  • 2
  • 34
  • 65
1
vote
0 answers

how to use certificates file and ssl on c# selfhost webApi?

I implimenting a server using selfhost webApi. I need to use ssl with certificates that will load a .cer file ( = Used to store a public key ) that will be load from disk when the server will start. I loaded the the .cer file X509Certificate2…
Yanshof
  • 9,659
  • 21
  • 95
  • 195
1
vote
0 answers

Got an Exception, while reading the google spread sheet

I am beginner to read the google spread using service account in my project .For few days it work fine but now i got an exception as System.Security.Cryptography.CryptographicException: Invalid provider type specified. Here is the stack trace…
prasanthi
  • 562
  • 1
  • 9
  • 25
1
vote
1 answer

How to parse(Convert to RSAParameters) X.509 private key in C#?

I'm working on an encryption channel to encrypt the communication between two devices. So I'm creating a helper class to do the encryption and decryption. I've googled a lot and found a piece of code that can parse RSA Public Key Into…
hmak.me
  • 3,770
  • 1
  • 20
  • 33
1
vote
1 answer

Add specific extension to X509 Certificate (bouncyCastle)

How can I add something like a number to a X509 v3 Certificate? X509v3CertificateBuilder certBuilder = new X509v3CertificateBuilder( new X500Name("CN=Subject"), serialNumber, startDate,…
nolags
  • 633
  • 1
  • 11
  • 30
1
vote
1 answer

How to force WebBrowser control to select one specific client certificate?

Anyone knows how to force the WebBrowser control to automatically select a specific client certificate and not open the pop up with client certificates list?
1
vote
1 answer

golang, can i create X509KeyPair using rsa key?

I am trying to create gRPC connection with mutual tls following the instruction on this blog Secure gRPC with TLS/SSL, but i don't want to create the certificate and save it to a file on the disk, I want the service itself to create its keys, then…
zer09
  • 1,507
  • 2
  • 28
  • 48
1
vote
1 answer

Programmatically get the issuer certificate C++

I am programming a certificate revocation check using CRL that is present in the verified certificate. For the check, I also need the issuer certificate. Where can I find the URL address for the issuer? I know that I can get the name of the issuer…
Dracke
  • 651
  • 2
  • 11
  • 30
1
vote
1 answer

JSCEP with X509Certificate and Attribute Certificate

I want to use JSCEP with Attribute Certificates (ACs), they are part of X.509. When I check the Java libraries. In the java.security.cert package a abstract X509Certificate is contained but this certificate inherits a getPublicKey method from…
wake-0
  • 3,918
  • 5
  • 28
  • 45
1
vote
1 answer

How do I get my Mono 4.2 code to send email through Amazon SES?

I have Mono (version 4.2.1) code running on Ubuntu 16.04.2 LTS; that code 's trying and failing to send email using Amazon SES. From other searches I read that the error is due to certificates not being present in mono's trust store. The command to…
Cois
  • 83
  • 7
1
vote
1 answer

Misunderstanding CSR and X.509 functioning

After spending two days searching and finding answers to my questions only to realize these answers were only creating more questions and problems I couldn't solve, I resolved to ask for help here hoping I hadn't missed the information I'm looking…
Badda
  • 1,329
  • 2
  • 15
  • 40
1
vote
1 answer

How to add certificate to X509Store from DSC (USB token)?

I want to add a certificate to X509Store. I am able to add the certificate from .pfx file. But i want to add a certificate from the DSC token. How to achieve this? private static void InstallCertificate(string cerFileName) { X509Certificate2…
Rakesh
  • 119
  • 1
  • 2
  • 16
1 2 3
99
100