certificates

Why would I get ExecutionEngineException in OpenRead on X509CertificateStore?

I'm using the WebServicesClientProtocol class with security tokens and using the following code to find the security token to use: private static X509SecurityToken GetSecurityCertificate(string subject) { X509CertificateStore localStore = X509CertificateStore.LocalMachineStore(X509CertificateStore.MyStore); X509SecurityToken sec...

How to use PEM file to create a SSL socket in Java?

See related question. I have a PEM file provided to me and was told that it will be needed in establishing a SSL socket that connects to a c++ server for some API calls. Does anyone know how I can read in the PEM file and connect? I was also given the parapharse password. ...

Create certificate for a client app in .NET

I'm looking for a server app to be routinely generating certificates for client applications using self-signed root. Is there any streamlined process in .NET to programmatically generate those certificates? I can, of course, keep spawning makecert or openssl, but I was looking for more programmatic, in-memory method, when you just get X...

WCF, Security and Certificates

I have a client/server WCF application that needs some sort of user authentication against a database. The application (both client and server together) is being developed to be sold to dozens of customers, for use on their intranets. We're not too worried about encrypting most of the data moving across the wire, except of course durin...

windows certificate store

Where can I find the windows certificate store location on the hard drive for server 2003. I am coding a c# utility for managing few certificates we use to notify when they are expiring. So, I choose to store them in the windows certificate store. Instead of using any existing location(Personal...) that I see in MMC I would like to creat...

How to configure WCF end-to-end logging?

Hi, I have a problem that I'd like to solve, but I don't know how to configure end-to-end logging in WCF (I'm not sure I can solve my problem even with end-to-end logging enabled). I have three applications (A, B, C) that use WCF service through NetMsmqBinding to communicate with each other. A is the host, and B and C are clients of the...

How can i open kdb file with ssl certificate for MQ?

IBM MQ uses some strange to me certificate format with kdb extension. How can I open it and change its validity date? ...

Self-signed certificate - unable to open certificate

I need a self-signed certificate to create a clickonce app in C++. I'm a real novice at deployment, so I'm following: How to create a self signed certificate Here's the command sequence I've used makecert -r -pe -n "CN=Watersteward" -ss CA -sr CurrentUser -sky signature -sv WaterSteward.pvk WaterSteward.cer makecert -pe -n "CN=Waters...

Terrible Performance with WCF and certificates (mutual authentication)

Guys / Gals we are having terrible performance with our website that uses WCF as the application later. We are using message level security and certificates (mutual authentication). We are caching the channel factory in the application object: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Dim loChannelFact...

HP iPAQ 514 Development with Visual Studio 2005

Hello! I can't connect Visual Studio 2005 to HP iPAQ 514. It was a gift to renew my MSDN Subscription. I can connect prefectly with Active Sync. I use Windows XP SP3. How can I connect to device with Visual Studio 2005? It said that I need a development certificate. Thank you! ...

Comodo certificate apparently recognized in IE but not FF/Seamonkey/...

I am trying to get a Comodo certificate recognized on a webserver written in Python using ssl. When I visit in IE8, the certificate is recognized without difficulty. But when I visit with Firefox 3.0.11/Ubuntu, it says the CA is invalid. Should Firefox recognize Comodo certificates without giving an invalid CA warning? What can I do to ...

Validate signature on EXE with CertGetCertificateChain

I would like to verify a signed executable. The requirement is to validate that the executable itself is valid and where it came from (probably from the subject of the cert). The cert type is PKCS. I found a similar posting here, http://stackoverflow.com/questions/301024/validate-authenticode-signature-on-exe-c-without-capicom The Mi...

x509 certificate for only one application - which OIDs to choose

I'm creating application that will create certificates for users. I want to mark somehow those certificates so that later I can search them in windows user certificate store by following categories: application GUID (or name - I want to know that this cert is for my application) certificate role (administrative certificate or user cert...

Get list of certificates from the certificate store in C#

For an secure application I need a possibility to select a certificate in a dialog. How can I access with C# to the certifacte store or a part of it (e.g. storeLocation="Local Machine" and storeName="My") and get a list/collections of all certificates from there. I suppose I can do this with System.Security.Cryptography.X509Certificates ...

WCF Security and what to use in this situation.....

I have a client/server application that has many client machines and one service on a server..... On the server side I will be using a Windows Service to host my WCF service. The service will be passing data across the internet to the client machines. I figure I will be using wsHttpBinding with message level security, which requires a...

Downloading a file over https over java

Hi, Here is a code that I copied from the web /** * A simple example that uses HttpClient to perform a GET using Basic * Authentication. Can be run standalone without parameters. * * You need to have JSSE on your classpath for JDK prior to 1.4 * * @author Michael Becke */ public class BasicAuthenticationExample { /** ...

ASP.net permissions to root certificate store

Is it possible to give asp.net read permission to the certificate store? If yes , how? If no... do I need to set the permission manually per certificate file? If yes where are these files physically on the HDD? ...

Require client certificates in IIS for non-local network requests using HttpModule

I need to require client certificates on a site in IIS for any request that does not originate from the local network. Any local requests should not require client certificates. Is there a way to do this in IIS? I was thinking of configuring IIS to allow client certificates but not require them and then use a custom HttpModule that wo...

Certificates: is .cer enough?

I am a little confused about certificates. I've installed the .p12 certificate to the system. Now I've exported the .cer file (as base 64). The web service I connect to needs to be supplied the .cer file. Does this mean that once the .cer file is exported, I can inunstall the certificate (.p12) from the registry? Or do they work hand...

Can someone please explain certificates to me

Hi Guys... I need a very basic 2 minute intro to certificates... I have been provided with a .p12 cert file... That is password protected... Now I need to import it to registry, and export a base 64 .cer file... Finally I use this .cer file to access a web service outside of my solution.... My question is - Does the imported .p12 and ...