certificate

Python accessing web service protected by PKI/SSL

I need to use Python to access data from a RESTful web service that requires certificate-based client authentication (PKI) over SSL/HTTPS. What is the recommended way of doing this? ...

Decryption problem

Hi, I have inserted some data in table using encryption (encrypted by creating my own certificate.). INSERT INTO Person2(ContactID, eFirstName, eMiddleName, eLastName) Values (1, EncryptByCert(Cert_ID('TestCertificate'), 'FirstName'), EncryptByCert(Cert_ID('TestCertificate'), 'Middle Name'), EncryptByCert(Cert_ID('TestCertificat...

Multiple users accessing certificate file at a time.

This is kind of not a question, but need a clarification. Here is the code. All this code is doing is sending sending a cer file to server in httpwebrequest which is placed on a local drive. My question is, what happens if multiple users try to access the application at a time. I mean 5-10 requests reading the same cer at a time. will ...

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...

X509Certificate2: Extensions are missing

Hi, In C# i'm loading X509Certificate2 objects from an X509Store initialized like so: X509Store store = new X509Store("My", StoreLocation.LocalMachine); store.Open(OpenFlags.OpenExistingOnly | OpenFlags.ReadOnly); I made my certificate in Openssl and it is set to "Any purpose". So I would expect the X509Certificate2.E...

.Net - X509Certificate2 vs X509Certificate

What is the difference between the two? ...

Free or Open Personal Digital Cerificate of Signing Documents?

I need to sign a pdf file with my own e-signature using a certificate where can i get one pfx file. ...

Digitally Signing InfoPath Forms

I have an InfoPath 2007 form with custom .NET code. In order for it to be accessible on our Sharepoint server, it needs to run in full-trust (I get an error about the form trying to access my computer, and therefore it cannot run). In order to run in full-trust, it needs to be signed with a cert. The network admin sent me a cert, but ...

WCF obtaining certificate encoded value

I am using a certificate with my WCF service so have an encoded value in the web.Config <identity> <certificate encodedValue="large string!!!!!!!" /> </identity> The value was generated by Visual studio in development using my test certificate. Now I am deploying I want to get the encoded value for the certificate maintained by the...

WCF Cant find server certificate using FindBYSubjectName

I have a certificate installed in my test environment. The subject of this is delimited by commas e.g. S80, My Company Name, Country The code below worked when the subject name was just S80 but now there are more details in the subject it no longer works. <serviceCredentials> <serviceCertificate findValue="S80, My Company N...

WCF Server Certificates Keyset not found, can't find private key

I have a server certificate working with my WCF service. However when I run the webservice I seem to have a permissions problem. [ArgumentException: The certificate 'CN=S80' must have a private key that is capable of key exchange. The process must have access rights for the private key.] Any idea? ...

Are "code-signed" windows applications less vulnerable to virus infections?

If you sign a windows (native, not .NET) application with a code signing certificate, does this somehow prevent it being subsequently infected with a virus? Obviously if you sign an already infected file, you've got a problem... ...

Obtaining a Digital Certificate

We have a .net WPF application running as both XBAP and Desktop etc.I haven't signed any assemblies etc.My question is that Q1.What kind of Digital Certificate do I need to purchase from VeriSign, Inc., or another certificate authority. to sign my application,use it as Authenticode Certificate (in clickonce) ? Q2.Can I use this Digita...

retreive certificate using subject id; USER Vs Machine

Hello, I have installed a certificate with Subject "UW008" in the MY store (CERT_SYSTEM_STORE_CURRENT_USER). When i run my test application, logged in as an Administrator, my test application is able to find the certificate with the corresponding subject ID. When i tried to access the same application from across a network(with same ad...

How to register a certificate to a port when the cert is in a custom location using netsh

My certificate is stored in a custom store under "Certificates(Local Computer)" instead of under "Personal". Normally, if the cert is located under personal, i just use C:>netsh http add sslcert ipport:0.0.0.0: certhash= appid= certstorename=MY where, certstorename=MY is already assumed by default if not specified. This works fine unt...

How to verify a website certificate in Cocoa Touch?

I currently open an https connection to a web server using NSURLConnection. Everything works as it should and I am able to retrieve the page content I am after. The certificate is issued by VeriSign and I assume NSURLConnection does some work to verify the authenticity of the certificate to some extent? If I connected to the same website...

Retrieving IIS 6.0 certificate information in .NET

How to get information about certificate installed on iis 6.0 server under C# in winforms application. ...

Prevent file from being edit

What's the smartest way to prevent a textfile (e.g. xml) from getting edit by a user? I need to make sure that the file in which I store the usernames and there privileges for the desktop application can't be simply edited. Maybe I can generate a certificate of the file and the desktop applications checks this? I'm using C# in a WinF...

How to retrieve/compute an X509 certificate's thumbprint in Java?

I have a java client that is calling a web service operation which takes a certificate "thumbprint" as a parameter. I believe the thumbprint is some kind of SHA1 hash, in hexadecimal string format, of the cert's public key, but I'm not sure. The .NET framework seems to include a simple way to get this value (X509Certificate2.Thumbprint ...

Are there any functions for working with the contents of X.509 Certificates in Cocoa Touch?

I have a SecCertificateRef representing an X.509 certificate. Does Cocoa Touch have any libraries for working with the contents of the certificate (I couldn't find any), or will I need to parse the DER representation of the certificate myself? Parsing is not a problem, however I'd prefer to save some time if I overlooked some functionali...