p12

Does anyone know why an Apple Push Notification development certificate would work locally, but not on my hosting server?

My client certificate seems to work locally, but not on my hosting server. So I have a "p12" that I exported my certificate to (for push notification development). I can perform a push from both my OSX and Windows boxes (on local network). The moment I move the push and certificate out to my hosting server, I get a timeout. The Apple Pu...

How to use a PKCS#12 certificate file in a .NET WebRequest?

Hi all, I have been issued a PKCS#12 certificate to be used for accessing a simple xml-based web service. When I load the PKCS#12 file into Windows (Vista), I can access the service using my browser. Trying to access the service through an application, without loading the PKCS#12 into the OS Certificate collections , I have written the...

Convert from .jks to passwordless .p12?

I have a java key store that contains a cert and private key. I want to convert this to a .p12 file that has no password. I'm using the .p12 in a shell script. ...

Problem with Sun Java KeyManagerFactory and null passwords

We are having a problem with the KeyManagerFactory in the Sun JRE 1.6. We are using code similar to the following to upload and use a certificate in p12 format: KeyStore keyStore = KeyStore.getInstance(PKCS12); KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(SUN_X509); InputStream certificateFile = getSSLCertificat...

How can I use user's certificate?

I can't understand general scheme using certificates. For example: I have account on the some website. I have name and password. What should I do to login to this site? - I should open _https://website:443/login and fill out fields, and if all is ok, I'll obtain admittance. Now, I would like to perform these steps programmatically usin ...

How to connect to a LDAP server using a p12 certificate

I want to connect to a LDAP server using a .p12 certificate instead of using a username and password. The Java solution for this looks like String ldapURL = "ldaps://"+host+":"+port; System.setProperty("javax.net.ssl.keyStoreType", "PKCS12" ); System.setProperty("javax.net.ssl.keyStore",keystore); System.setProperty("javax.net.ssl...

Windows asks for p12 password when installing p12 key generated by openssl

If I generate a p12 certificate with openssl as: - openssl pkcs12 -export -in myprivatecert.pem -nokeys -out mycert.p12 Even though I ask openssl to not export the private key, why does windows still require the private key password when installing the certificate. I figure I am missing something. Thanks in advance, David. ...

Using HttpClient with SSL and certificates

While I've been familiar with HTTPS and the concept of SSL, I have recently begun some development and found I am a little confused. The requirement was that I write a small Java application that runs on a machine attached to a scanner. When a document is scanned this is picked up and the file (usually PDF) sent over the internet to our...

Converting .jks to p12.

Hi All, How to configure .jks file to p12. jks is java key store file so how can i convert to p12 format. ...

How do I get a replacement development certificate's p12 file?

My Mac hard disk crashed, put a new hard disk and reinstalled OS, xcode, but not able to build my app for device target since the certificate does not work any more. I could have used the p12 file but unfortunately I lost it. So, what's next? How do I update my app which is there in app store? I need to smoke now :( ...

Trouble connecting to SSL-encrypted web service with PHP

I got two certificate files from the provider, one in a .cer-format and one in a .p7b-format. I then converted the p7b-certificate to a p12-certificate. With this certificate I'm able to connect to the wsdl from my browser. Then I proceeded to convert that certificate to .pem-format, using some instructions I found on this site. openssl...

How to instantiate javax.security.X509Certficate object from a p12 certificate (contains certificate + private key)

X509Certificate is only instantiatable using the contents of a certificate (.cer file). How to instantiate this object using a .p12 file that contains both the certificate and the private key? ...