certificate

How to access windows certificate store in javascript?

血红的双手。 提交于 2019-12-19 07:42:22
问题 I want to access the windows certificate store through javascript... I want to develop a web application and wants to validate the login user against the certificate by reading it. 回答1: As far as I know it is not possible from a web application without using native bridge (fir instance through some java applet or activeX component). There is currently a W3C working draft for a Web Cryptography API. Some browser vendors are currently working on this API (Mozilla or Microsoft) but it is far

Certificate problem with a new machine - credentials supplied to package not recognized

非 Y 不嫁゛ 提交于 2019-12-19 06:03:05
问题 I am installing a windows service on a new machine. The service does various operations over SslStream over TCP, which uses the certificate in problem. The service has been operating fine with the same code and same certificate on other 2 windows 2003 machines. But, this new machine is Windows 2003 with 64 bit processor too. I am running into this problem when I am trying to run the service with a 'Service Account' identity. It works fine with my own credentials. (Again, it works fine on

Get certificate and add it to a Java truststore, when only having https URL?

前提是你 提交于 2019-12-19 04:08:05
问题 I'm trying to send push notifications to Android devices through the Google Cloud Message servers. The URL we use to do that is: https://android.googleapis.com/gcm/send In our entreprise applications, we do not use the default CA authorities and we add manually each entity we trust for security reason, in a truststore file loaded by SSLContext properties. I'd like to add GCM certificate to our truststore. I don't know how to get the certificate from that URL. It seems the Chrome/Firefox

C# Generate a non self signed client CX509Certificate Request without a CA using the certenroll.dll

蓝咒 提交于 2019-12-19 04:07:55
问题 I have a self signed root certificate that I generated in C# using CERTENROLL.dll's CX509CertificateRequest Certificate functionality. I would like to write a function that generates client certificates signed by my root using the same API. However the only CertEnroll option I can find that does not generate a self signed certificate requires a authenticated CA. There seems to be a flag for setting a SignerCertificate but it always fails to initialize. //Initialize cert var cert = new

Ruby Error reading in Certificate File with OpenSSL

对着背影说爱祢 提交于 2019-12-19 03:01:54
问题 I am trying to do a simple OpenSSL::X509::Certificate.new(File.read("testuser.p12")) from irb with ruby 1.8.7 (or 1.9.2) , same result for both. The error I get back is OpenSSL::X509::CertificateError: nested asn1 error Is this a ruby issue, or does this suggest the cert itself is malformed? I've found some similar reports revolving around an amazon cert demonstrating such errors, which turned out to be the cert itself. It works in the browser though. Suggestions on how to resolve this? 回答1:

Decrypt with PrivateKey X.509 Certificate

爷,独闯天下 提交于 2019-12-19 02:47:47
问题 I have a problem to decrypt a message usgin X.509 Certificate. I generate my certificate with makecert with this options: makecert -r -pe -n "CN=MyCertificate" -ss CA -sr CurrentUser -a sha1 -sky signature -cy authority -sv CA.pvk CA.cer And the PrivateKey was "mypassword". My problem is when I want to decrypt a message encrypt with previous certificate in c#. I found this class http://blog.shutupandcode.net/?p=660, but in the X509Decrypt method allways the PrivateKey is null. public static

Java 9 deprecating SHA1 certificates, or another issue at work?

浪子不回头ぞ 提交于 2019-12-19 02:46:28
问题 [ UPDATE ] Oracle just revised the crypto roadmap (https://www.java.com/en/jre-jdk-cryptoroadmap.html), they will not deprecate SHA-1 for codesigning: 2017-03-14 Target date changed from 2017-04-18 to 2017-07-18. Narrowed scope from all SHA-1 usage: only TLS will be affected, *code signing will not not be affected at this time*. This does not affect, in any way, the fine answer I received below, as it will apply, no doubt, in the future. -- Original post: Attempting to run our Webstart

Certificate fingerprint is invalid?

不想你离开。 提交于 2019-12-18 18:46:30
问题 I have generated my SHA1 code from my keystore but when I try to create an OAuth client 2.0, Google game console is giving me the error: "Certificate fingerprint is invalid". Anyone knows why this happens? How do I fix this? 回答1: I've contacted Google Play Developer Support about this issue (I've got a same problem). Here is their answer : Please ensure the key is set to 2048 bit and is valid for at least 25 years. I've tried it, but sadly my debug.keystore is still not getting accepted,

OPENSSL - How to generate a proof of possesion for a X509 certificate?

笑着哭i 提交于 2019-12-18 18:00:28
问题 I need to generate a proof of possession, signing a verification code with my private key. I did not find a question related to this, here in Stack Overflow, and I am not finding some reference on Internet. I am following this tutorial, but I want to use OpenSSL. My verification code is related to a X509 certificate, like this: 7A69A4702DA903A41C3A5BC5575A8E3F49BEC5E5BA2D4CE1 回答1: I got the answer with the Azure support team. I already had my root key and X509 cert, generated with the

Verify return code: 20 (unable to get local issuer certificate)

。_饼干妹妹 提交于 2019-12-18 16:53:39
问题 I have a problem similar to this: Apple Push Notification in Production Environment : Unable to get local issuer certificate but in my local computer. I followed this tutorial: http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12 but in this step openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem It says: (A lot of number and letters) Verify return code: 20 (unable to get local issuer certificate) What the