certificate

How can I access identity profiles and certificates with iPhone SDK?

I am trying to verify the user identity on my application using a certificate / identity that the user has stored by opening a .cer / .p12 attached to an email. The certificate appears on the settings app of the phone under the group "Configuration Profiles". Is there any way of accessing the certificate using the iphone SDK (I have tri...

Authentication based on Certificates and IP

Is there a way for a java web app to get information on the security certificates installed on one's machine via a http request and selectively grant access if a particular certifiicate is installed on the machine. Basically the requirement is, the web application should entertain request only from a company laptop else must deny acces...

Install a pfx certificate in a users store in Windows using WiX

Please, can someone provide me with a WiX snippet or solution for the mentioned scenario. I need to include the pfx file in the WiX msi and the user will download my msi to his machine via the internet explorer and Click install and I need also the certificate to be installed on his machine. ...

Location for Installing Certificates

Hi. I am just now learning about certificates and how to install them. I am currntly following instructions as to how to design a profiling system that allows me to access profile information via SOAP envelopes. Accordingly, the instructions are asking me to install the aspnet_db and then the following certificates: 1) IPkey.pfx...

Transferring iPhone Provisioning Profiles

I thought there had already been a similar question but searching for it yielded no results. So if anyone can find it and link me I would appreciate it. I have not done any iPhone development in months (Since last August I believe) and since then, I have reformatted my MacBook when I installed Snow Leopard. Well, I am interested in work...

How to read certificates from my certificate store?

I want to install a certificate on a machine if it doesn't have it installed already. I tried checking if the store contains the certificate but somehow my store is always empty. I checked "Intermediate Certification Authorities" folder and found 18 certificates there. So why does this code write 0? X509Store store = new X509Store(Store...

Testing if a client certificat is installed in the client browser...

Hi, I was wondering if any of you know if it is possible in javascript or php to test if a client has a specific client certificate installed in the browser. The thing is that we have a server certificate installed but to be recognized by the clients, they need 2 client certificates that make them recognize the authority of the issuer ...

Hosting someone elses SSL cert in IIS to allow https hosting on their domain from your own server

Currently customers have sites on my domain like https://customername.myapp.com. I'd like for them to be able to upload an SSL cert and then access my site via https://myappname.customername.com - how would one go about doing this programmatically in .NET/IIS 7? bump ...

How does a CA decide if entity is trustworthy

Hello, I am currently programming a Certification Authority for a uni class, I am currently struggling with the concept of creating the certificates. How does a CA usually decide if it should give a Certificate to an entity , is it enough to prove that the entity is the owner of a public key by signing a certificate-request with their ...

How to send HTTPS requests to host with untrusted server certificate in iPhone Simulator?

Hi, I develop an iPhone framework which sends HTTPS requests in order to communicate with a publicly available backend server. Currently I have a big problem regarding untrusted server certificates. The certificate of the backend server is not signed by a trusted CA, so my first approach was to use NSURLRequest's private allowsAnyHTTPS...

The remote certificate is invalid according to the validation procedure.

I read this blog post. http://blogs.msdn.com/microsoftbob/archive/2009/08/20/a-wrapper-for-running-sql-server-2008-reporting-services-reports-anonymously.aspx We have a similar solution that we have been using for a year now. We are using IReportServerConnection2 interface implementation to provide the credentials to the report server d...

What is the best way to keep password in SQL Server 2008?

Hi there, I am planning to save customer's sensitive information through SQL Server certificate/ (a)symmetric keys. Though data is secure now, certificate and keys are not readable, i wonder where should i put the keys? Is there any best practices? only thing i could think of is to create table only accessible to dbo or dedicated login ...

How can you add a Certificate to WebClient (C#)?

I know it is pretty simple to add a certificate to a HttpWebRequest. However, I have not found a way to do the equivalent using WebClient. Basicly, I want to send out a POST with a specific certificate using WebClient. How would you accomplish this exact code using WebClient: var request = (HttpWebRequest) WebRequest.Create("my-ur...

Where (at which point in the code) does pyAMF client accept SSL certificate?

Hello, I've set up a server listening on an SSL port. I am able to connect to it and with proper credentials I am able to access the services (echo service in the example below) The code below works fine, but I don't understand at which point the client accepts the certificate Server: import os.path import logging import cherrypy fro...

XBAP full trust deployment

I did the following steps to deploy my wpf application that need full trust permission: 1-Creating a certificate using makecert.exe 2-Creating signed application and deployment manifests. 3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap) 4-Adding certificate - used to sign manifests -...

SSL: How are certificates protected against man in the middle attacks?

My question is about certificates specifically in ssl but I think the questions should apply to all certificates. I have included the SSL procedure for the sake of clarity. In SSL this is what I understand to be the procedure: 1)Client sends supported crypto algorithms sends client nonce 2) Server chooses (and sends) a sy...

alter x509 extended properties / usages

Is there any way to programmatically edit the purposes enabled for a give x.509 certificate? This functionality is available via the certificates mmc snap-in (hyperlink below) but I need to perform the action through code. preferably C#. modify the properties of a certificate ...

Is there a Python library for connecting to a PostgreSQL 8.4 server using certificate authentication?

We are in the process of upgrading from PostgreSQL 8.3 to PostgreSQL 8.4, in a large part so that we can start using certificate-based authentication. We have some Python 2.x code that accesses the database that uses PyGreSQL. Is there a way to get it or any other Python library to use a cert to access PostgreSQL? Looking through the P...

Firefox: Signed script shows scary certificate dialog

The context: I'm writing JavaScript to run an executable and tweak some registry entries on the client machine. I've signed the .JAR using SignTool and my company's Authenticode certificate, but running the script produces a dialog saying: There is no mention of the root certificate authority (in this case Comodo, I believe), so I co...

Unable to find valid certification path to requested target

Hello, I try to send an email using a jee app. The exact same code is working on a console application. When I use this code on a jee project and I test it using glassfish v3, i get a Unable to find valid certification path to requested target. I don't want to import any certificate. I just want to send my mail even if there is a cert ...