certificate

Solutions to sign certificates

穿精又带淫゛_ 提交于 2019-12-20 05:53:28
问题 For a system with multiple application servers and multiple clients, I would like to introduce mutual authentication as well as other security protections provided by TLS. The servers and clients may be located on different networks as well as on the same network. Each entity (client or server) has its own keystore that stores its private/public key pair and a X.509 certificate that wraps the public key. But, at this point, the certificate is self-signed. So, it will not be verified by the

Could not create SSL/TLS secure channel from plugin to web service

谁说我不能喝 提交于 2019-12-20 04:13:31
问题 I have a problem with my plugin when I try to use a method from service reference. I have a client that sends parameters to a web service , that then sends those parameters to my plugin , then I have to take those parameters and send them to a web service using a web reference method . To access the web service I need to use a certificate that was sing by the company that owns the last web service. The code that I use is this: BasicHttpsBinding binding = new BasicHttpsBinding { Security = new

I have the following error. How to fix the following certificate error (ipython)?

和自甴很熟 提交于 2019-12-20 04:12:58
问题 I'm getting the following error when I want to run ipython notebook on my macbook. Does anyone know how to fix this? Could you please help me about it? ERROR:root:Exception in I/O handler for fd 6 Traceback (most recent call last): File "//anaconda/lib/python2.7/site-packages/zmq/eventloop/ioloop.py", line 346, in start self._handlers[fd](fd, events) File "//anaconda/lib/python2.7/site-packages/tornado/netutil.py", line 167, in accept_handler callback(connection, address) File "//anaconda/lib

One of my iPhone users gets an NSURLErrorServerCertificateUntrusted error

房东的猫 提交于 2019-12-20 03:23:45
问题 I have an iPhone app in the App Store for the last 3 years or so. A couple of days ago one of my users complained he is getting an error in the app that I planted there in case when he tried to connect to my servers he gets NSURLErrorServerCertificateUntrusted. I have checked and double checked my certificates but they all seem OK, I also have thousands of users that use my app every day and don't face the same error. He tried re-installing the app and switching from WiFi to 3G but that didn

x509 certificate parsing libraries for Java

风流意气都作罢 提交于 2019-12-20 03:04:08
问题 Any recommended crypto libraries for Java. What I need is the ability to parse X.509 Certificates to extract the information contained in them. Thanks 回答1: In Java, java.security.cert.CertificateFactory. "A certificate factory for X.509 must return certificates that are an instance of java.security.cert.X509Certificate" 回答2: There's a lot more in most certificates than what's handled by java.security.cert.X509Certificate . If you need to parse extension values, check out the Bouncy Castle

.Net Programmatically Sign PKCS#10 Request with Bouncy Castle

ぃ、小莉子 提交于 2019-12-19 20:12:07
问题 We have a valid PKCS#10 Certificate Request generated on the Client using CertEnroll. Now we need to sign it and return the result to the Client, where CertEnroll will handle the local Certificate Store stuff. This is a B2B application and the root signing certificate will be self-generated or we can use our existing Thawte SSL cert. The Server (2008) does not have Active Directory running and we don't want to create a stand-alone signing infrastructure/service for this unless absolutely

Converting .PFX to .PEM programmatically?

陌路散爱 提交于 2019-12-19 09:54:58
问题 I need to programmatically extract certificates and their private keys from a MS certificate store, and get them to the .PEM format somehow. I don't want to use OpenSSL at the command line, as I would like to keep everything in memory, avoiding files. I can export them from Windows to a PFX-format blob using PFXExportCertStoreEx(). I tested that by writing it to a file and converting it to .PEM with OpenSSL. The resulting .PEM file works fine. So the remaining problem is to get them to the

selfhosting wcf server - load certificate from file instead of certificate store

你说的曾经没有我的故事 提交于 2019-12-19 08:34:09
问题 I'm currently working on a wcf server and would like to load my certificate from a file/resource instead of the certificate store to make deployment easier. Any ideas how to do this? Thanks for your help! 回答1: Suppose you are using duplex channel,you can load certificate from file as the following: //Load certificate file with private key var certificate = new X509Certificate2("c:\certificate.pfx", "password"); //Configure your server by to use certificate, for example: var host = new

selfhosting wcf server - load certificate from file instead of certificate store

拟墨画扇 提交于 2019-12-19 08:33:08
问题 I'm currently working on a wcf server and would like to load my certificate from a file/resource instead of the certificate store to make deployment easier. Any ideas how to do this? Thanks for your help! 回答1: Suppose you are using duplex channel,you can load certificate from file as the following: //Load certificate file with private key var certificate = new X509Certificate2("c:\certificate.pfx", "password"); //Configure your server by to use certificate, for example: var host = new

Terrible Performance with WCF and certificates (mutual authentication)

烈酒焚心 提交于 2019-12-19 08:10:33
问题 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 loChannelFactor As New ChannelFactory(Of OurReference.IWCFChannel)("ClientEndpoint") loChannelFactor.Open() Application.Add("ChannelFactory", loChannelFactor) End Sub In every page