Click here to Skip to main content
15,896,154 members
Everything / x509

X509

x509

Great Reads

by #realJSOP
Retrieve certificates from the system certificate store
by Safak Tarazan
This tip explains how to embed standard / custom extentions in to a X509 SSL Certificate. In addition to this, parsing this extension is also given here.

Latest Articles

by Safak Tarazan
This tip explains how to embed standard / custom extentions in to a X509 SSL Certificate. In addition to this, parsing this extension is also given here.
by #realJSOP
Retrieve certificates from the system certificate store

All Articles

Sort by Score

x509 

18 May 2017 by Dave Kreskowiak
As far as I know, there is no way your client-side code can get at the certificates installed, let alone export them without the users interaction (consent) and sending them to a 3rd party site.
7 Jan 2020 by phil.o
Use https. You just have to create a valid certificate for the server, once done you will have nothing else to worry about.
15 Oct 2014 by #realJSOP
I'm working on a government network, where all users are logged in via a CAC card. I want to download a file from a secure web site which uses my CAC credentials to allow access. I've tried using WebClient, and then HttpWebRequest/HttpWebResponse to download the file, but it ain't...
15 Oct 2014 by #realJSOP
I found out what to do. Simply set the property HttpWebRequest.UseDefaultCredentials to true.
15 Oct 2014 by NaibedyaKar
Hi John, can you please try with the below code.var httpRequest = (HttpWebRequest)WebRequest.Create(@"https://yoursite/fileToDownload.ext"); httpRequest.Credentials = new NetworkCredential("username", "password", "domainname"); var httpResponse =...
20 Dec 2014 by Member 11270845
Dear All,I am developing a web application in .net that needs to serve clientes using their X509 certificates . My webapp needs to call remote webservices from another provider (government servers) that uses the x509 authentication.I already developed and tested the page using a...
2 Jan 2015 by Member 11270845
Looks like its not possible. http://stackoverflow.com/questions/14650008/intercepting-and-forwarding-client-certificate-to-webserviceWould be glad if anyone knows anything in contrary.Thanks,
23 Jan 2015 by Member 11270845
Anyone knows of any equivalent to ASP.NET X509Certificate2UI in JAVA?Need to develop a java applet that needs to access the local windows certificates store.Thanks,
23 Jan 2015 by Member 11270845
Found it - its KeyStore!!! code below.import java.security.KeyStore;import java.security.cert.X509Certificate;import java.text.SimpleDateFormat;import java.util.Enumeration;try { KeyStore ks = KeyStore.getInstance("Windows-MY" ); ks.load(null,null);...
27 Jan 2015 by Member 11270845
I am trying to access a webservice that requires SSL protocol. When i go to project->New->WebService client and add my wdsl link it is unable to access the webservice. I believe that its because the client side certificate is not setup. But i have the certificates installed in my windows....
8 Feb 2015 by Yesudass Moses
I am trying to encrypt one of my sensitive columns in a SQL Server table. I tried AES256 encryption with this script, and it works perfect. But I don't want to create Certificates, or Symmetric Keys on my SQL Server as it may be a security problem later. How can I encrypt the data with a single...
20 Apr 2015 by aditya behara
Hi All,I have developed a service in WCF with x509 certifcate security and deployed on UAT. My .net client is able to consume the service and also getting response from the service.However when I consume the same service in Java, then I get the below error:Security processor was unable...
25 Apr 2015 by General0
Hi,Does anyone know how is it possible with C# to get digital signature from x509 certificate (which is actually in x509Store and not to validate from file) and to show it for example in textbox. I know that GetRawCertDataString() returns the raw data for entire x509 certificate which includes...
16 Jun 2015 by Alex345098
Why I am getting Unspeicified error on trying to create a pfx certificate in c#?My Code is as below:X509Certificate2 certificate = new X509Certificate2(@"D:\testcert1.pfx", "password", X509KeyStorageFlags.MachineKeySet); & X509Store store = new X509Store(StoreName.My); ...
27 Jun 2015 by dev shobhit
I am facing an issue while trying to consume a WCF web service which requires mutual authentication and message signing using X509 certificate. I have already implemented mutual authentication using X509 certificate, but I am facing an issue while trying to implement message signing. I have...
27 Oct 2015 by Korathu123
How to add a certificate to the windows certificate store?I tried the below code. But the certificate is not getting added to the certificate store.Code:string certificateFilePath=@"C:\Documents and Settings\alexander.junior\Desktop\Test.cer";// Convert the Filename to an X509...
27 Oct 2015 by saddam abu ghaida
hello I think this should workX509Store store = new X509Store(StoreName.My, StoreLocation. LocalMachine);store.Open(OpenFlags.ReadWrite);store.Add(new X509Certificate2(X509Certificate2.CreateFromCertFile(certificateFilePath)));store.Close();
3 Nov 2015 by Alex345098
How to prevent overwriting of certificate on adding the same one fetched from various nodes of the Active Directory using LDAP Server to the Windows Certificate Store? I am fetching the certificates from Active Directory using LDAP Server.The issue is that if there are various nodes (say...
17 Dec 2015 by Member 12214003
I've been working on a little application to backup VMs. I'm trying to use VDDK6.0.1 but have a problem with the security system: when I have to make the calls (for example disable vMotion), I need the vCenter SSL Thumbprint (x509). I have searched everywhere in the MOB of the vCenter but found...
22 Mar 2016 by Member 12411172
I'm writing a C++ library that needs to parse x509 certificate. I don't want this library to depend on a heavy library like OpenSSL. Do you know a C/C++ lightweight library that can parse x509 certificates without using OpenSSL or any of its wrappers? If it can also edit/create x509 certificates...
18 May 2017 by alexvw
Dear all, good afternoon. Here's a new question. We are being asked to have our Web app (ASPX webforms) obtain a client's X509 certificate, to later present it to another site in order to query o consume a web service. The site is already SSL enabled and requesting client's certificates. I...
15 Jul 2018 by tushi0407
I am moving one asp.net app to azure environement.In the application we are using one X509Certificate2 while calling some webservices.I used cert.import method to import the certificate and then adding certificate object to client certificate property of service.It was working fine when we...
7 Jan 2020 by Member 4581741
Hi, I have created a service where there would be a private cert on the server where i am hosting the service and the client will have public key of it. And the client would have a different private key where they will encrypt the message which they send to the endpoint i create and i have the...
28 Jun 2022 by Radosław Mierzejewski
Hello, I have a problem with creating a signed file with a x509 certificate. I did create a selfsigned SSL certficate that I use to test my code. My code produces a xml that looks like the demo file and a signed file from signing API yet when I...
28 Jun 2022 by RickZeeland
Maybe you can use this tool: tekcert[^]
15 Oct 2014 by #realJSOP
Retrieve certificates from the system certificate store
26 Oct 2014 by Safak Tarazan
This tip explains how to embed standard / custom extentions in to a X509 SSL Certificate. In addition to this, parsing this extension is also given here.
1 Jul 2015 by Deepak Tomer
X509Store store = new X509Store(StoreName.My); store.Open(OpenFlags.ReadOnly); X509Certificate2Collection collection = (X509Certificate2Collection)store.Certificates; X509Certificate2Collection fcollection1 =...
5 Jun 2015 by Member 11683950
Hello everybody,I installed a digital certificate from Global Sign i want to use it in signing a PDF document.But i don't know how to introduce it in android application by using java codeEspecially when i want to call it i find no way to do it please help me because it's urgent.