mutual-authentication

Two way authorization with PFX file

时光毁灭记忆、已成空白 提交于 2019-12-01 13:27:14
I have a problem with two-way authentication. I Use tomcat6 as a server and as a client I try IE, Firefox and my own java application. The problem occurs using PFX certificates given to me by someone else. I have to use them as a client certificate, so i just add it to trusted certs on server and use it on browser in user certificates. The problem is that i get bad_certificate alert. I have succeeded in doing two-way ssl by generating my own certificates for server and client and adding public keys as trusted in both keystores etc... When i watch wireshark logs i see, that server sends good

Two way authorization with PFX file

随声附和 提交于 2019-12-01 10:05:20
问题 I have a problem with two-way authentication. I Use tomcat6 as a server and as a client I try IE, Firefox and my own java application. The problem occurs using PFX certificates given to me by someone else. I have to use them as a client certificate, so i just add it to trusted certs on server and use it on browser in user certificates. The problem is that i get bad_certificate alert. I have succeeded in doing two-way ssl by generating my own certificates for server and client and adding

Mutual authentication when client gives you their public certificate

こ雲淡風輕ζ 提交于 2019-11-30 16:18:58
问题 Usually 2 way ssl aka mutual auth includes generating a server ca key & certs, etc.Then the client generates a csr, gives it to you and you sign their csr and provide them with a client cert. However, I have encountered a case where the client requires that I implement "mutual auth" by exchanging each others x509 public certs. Is this heard of? Perhaps called something other than "2 way SSL" or "Mutual Authentication". I am struggling to find any documentation or information on this with

Self-Hosted WCF Service with Mutual SSL (between Service and Client) fails with 403 Forbidden

£可爱£侵袭症+ 提交于 2019-11-30 15:54:15
I’m trying to setup a demo of Mutual SSL between a self-hosted WCF service and a client app (command prompt for now). In the end I’m trying to get to a solution where I have transport security (not message security) between a server that uses a certificate for its incoming connections and multiple clients each with individual certs that I can use to uniquely identify each of the clients. I’ve tried a number of differing approaches to this, but none have worked (I was unable to find an exact example for what I’ve been trying to do). Each time I think I’m getting close I end up with an exception

Self-Hosted WCF Service with Mutual SSL (between Service and Client) fails with 403 Forbidden

和自甴很熟 提交于 2019-11-29 22:39:58
问题 I’m trying to setup a demo of Mutual SSL between a self-hosted WCF service and a client app (command prompt for now). In the end I’m trying to get to a solution where I have transport security (not message security) between a server that uses a certificate for its incoming connections and multiple clients each with individual certs that I can use to uniquely identify each of the clients. I’ve tried a number of differing approaches to this, but none have worked (I was unable to find an exact

Using client certificates with urllib2

回眸只為那壹抹淺笑 提交于 2019-11-28 19:26:13
I need to create a secure channel between my server and a remote web service. I'll be using HTTPS with a client certificate. I'll also need to validate the certificate presented by the remote service. How can I use my own client certificate with urllib2? What will I need to do in my code to ensure that the remote certificate is correct? Here's a bug in the official Python bugtracker that looks relevant, and has a proposed patch. Because alex's answer is a link, and the code on that page is poorly formatted, I'm just going to put this here for posterity: import urllib2, httplib class

Mutual authentication with Tomcat 7

前提是你 提交于 2019-11-28 17:06:09
I'm trying to set up a Java web service running in Tomcat 7 to use mutual (2-way) authentication. It seems like no matter what I do, connecting to the service on the secure port isn't working. Here's what I did to create certificates and keystores and such: //create the key and certificate for the tomcat server. keytool -genkey -v -alias tomcat -keyalg RSA -validity 3650 -keystore tomcat.keystore //create the key and certificate for the client machine. keytool -genkey -v -alias clientkey -keyalg RSA -storetype PKCS12 -keystore client.p12 //export the client key keytool -export -alias clientkey

Custom urllib opener that uses client certificates

南笙酒味 提交于 2019-11-28 12:30:38
I have got an API that I have to work with. The API is secured by HTTPS and uses mutual authentication/client certificates. I have a PEM file and a CRT file. When I connect to the server regularly, using PyOpenSSL I have no problem, here is the code: import settings from OpenSSL import SSL import socket def verify(conn, cert, errnum, depth, ok): # This obviously has to be updated print 'Got certificate: %s' % cert.get_subject() return ok def password_callback(maxlen, verify, extra): print (maxlen, verify, extra) return settings.DEPOSIT_CODE context = SSL.Context(SSL.SSLv23_METHOD) context.set

Warning: no suitable certificate found - continuing without client authentication

倖福魔咒の 提交于 2019-11-28 11:12:51
Team I am facing following issue when try to complete a mutual handshake using HTTPS main, READ: TLSv1.2 Handshake, length = 30 *** CertificateRequest Cert Types: RSA, DSS, ECDSA Supported Signature Algorithms: SHA1withRSA, SHA1withDSA, SHA1withECDSA, SHA256withRSA, Unknown (hash:0x4, signature:0x2), SHA256withECDSA, SHA384withRSA, Unknown (hash:0x5, signature:0x2), SHA384withECDSA Cert Authorities: <Empty> main, READ: TLSv1.2 Handshake, length = 4 *** ServerHelloDone Warning: no suitable certificate found - continuing without client authentication *** Certificate chain <Empty> My JAVA class

Mutual-authentication with web services

╄→гoц情女王★ 提交于 2019-11-28 04:44:00
Currently, I've been successful implementing Mutual Authentication security so long as the client accesses the website using a web browser, because browsers take care of all the certificate exchange for you. Now I need to create a secure interface with which users can access web services over HTTPS, using the mutual authentication required by the server. First off, are there any resources anyone knows of that can help me with this? I've looked for quite some time and found nothing. Any other tips anyone can give me on how to go about this? Secondly, I think my biggest roadblock is my lack of