Questions tagged [mutual-authentication]

Authentication is the process of verifying an asserted identity. Mutual authentication protocols provide for verification of the identities asserted by both sides of a network connection, causing the connection to fail if either side fails the authentication test.

Authentication is the process of verifying an asserted identity. In network terms, the party requesting a connection and the party granting the connection can potentially assert identities. The connection is said to be mutually authenticated when a) the identities of both sides are validated; b) the connection fails if either validation fails.

Single, or one-way authentication
A common example is a connection from a web browser to a banking web site. The user must have assurance that the web site is authentic before entering ID and password credentials. The protocol compares the URL in the browser to the Common Name or Subject Alternative name in the bank's X.509 certificate. This assures the user that the bank's web site is authentic. However, the user typically is not required to use an X.509 certificate to sign on. Instead, they enter their credentials over the encrypted connection that was established during the HTTPS session setup.

Mutual authentication
A common example of mutual authentication is an employer's VPN that authenticates both the employer and the employee using X.509 certificates. In this example, the employer's VPN server presents its certificate details during the initial handshake so the client can authenticate them. Once this is complete, the client presents its certificate details to the server for verification. When both sides have - mutually - authenticated each other, the connection is complete.

301 questions
1
vote
1 answer

Two way SSL digital certificate authentication is failing in Java 6 but working in Java 7

I have a Java program connecting to a server with 2 way SSL certificate authentication. It's working fine with Java 7 but failing with Java 6. And unfortunately, our system still using Java 6. So, I am trying to get it work with Java 6. The…
1
vote
0 answers

Issue getting Client Certificate Authentication working when tomcat uses APR/Openssl

I am trying to use Client Certificate Authentication (Mutual SSL Authentication) with a tomcat server (8.0.23) using APR. This all works fine with a tomcat using regular java based io, but fails during verifying the client signature when using…
1
vote
0 answers

restful play api with mutual ssl

I have a rest API built in Play! framework. This is on SSL layer. How to enable mutual SSL in this case. The clients calling my API will have their own public certificate. I have my own public certificate. But I am not sure how my play API can send…
Dhana
  • 91
  • 9
1
vote
0 answers

Fetching X509 Certificates from Windows authenticated Smart Card logon

I need to implement Mutual Authentication using Tomcat for SmartCard Based log on. I have successfully configured Tomcat Mutual Authentication for certificates that are present on the file system by following…
1
vote
1 answer

How to perform mutual authentication for some endpoints in a web service?

I have a .NET MVC web app and I will be exposing a handful of endpoints which should only be hit by certain authorized internal applications. I'd like to achieve this via some form of mutual authentication, so that the web service can verify the…
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
1
vote
0 answers

PHP SOAP webservice call with two way SSL authentication

I am using curl API to call a SOAP web service with two SSL authentication and uses UserName,PasswordDigest and Nounce in SOAP headers . curl API code is: $soap_do = curl_init(); curl_setopt($soap_do, CURLOPT_URL, "WEBSERVICE_URL"…
Harvinder
  • 43
  • 6
1
vote
1 answer

How to do two-way authentication on tomcat?

How to do Two-way SSL authentication on tomcat using OpenSSL self signed certificates - Need to use EC DSA for generating certificates. Suggestions much appreciated.Thanks in advance
1
vote
1 answer

GCDAsyncSocket two way authentication

I'm using GCD AsyncSocket to create client application to connect to server java create by SSLServer Socket with self-sign certificate. With one way authentication, I can init SSL socket and communication well. But with two way authentication, I…
1
vote
2 answers

PN532 MiFare Ultralight C Mutual Authentication

Has anyone managed to get Mutual Authentication with an ultralight C card working using this chip? I understand the Authentication procedure but looking at the command set in the chips manual and trying a few things I don't think it is actually…
watersa8
  • 13
  • 2
1
vote
1 answer

Apache tomcat mutual authentication self signed certificate REST service

I want to deploy my REST service (war) on Apache Tomcat, want it to enable HTTPS using self signed certificate and mutual authentication. I need to come up with a client that uses self-signed certificate. I want the client and servers to exchange…
l a s
  • 3,836
  • 10
  • 42
  • 61
1
vote
1 answer

Creating AES session key for Cipurse (Java Card)?

I try to get into cipher, mutual authenticate and such and figured it might be good to see what is "on" the market. Now, cipurse states in its specifications a term like this to generate the session key: k0 = AES (key = PAD2 (kP) XOR PAD (rT), kID)…
achiever
  • 309
  • 1
  • 16
1
vote
0 answers

Mutual authentication using openssl and .Net

I am using managed OpenSSL wrapper for mutual authentication in my project. What I have done till now is sent the client certificate by calling .Net's AuthenticateAsClient function of SslStream and I am getting server certificate along with 3 chain…
SB1589
  • 41
  • 1
1
vote
0 answers

Mutual SSL authentication with CAPI and OpenSSL

I need to do mutual SSL authentication from my client app (C++) using OpenSSL (via libcurl). I am reading certs from a smart card via MS Crypto API (CAPI) and ActivClient driver, and doing cert-chain validation with CAPI (this seemed to be easier…
1
vote
1 answer

OpenSSL presenting server cert to client with certificate authority?

I'm trying to learn how to use the OpenSSL library (total newb) and am having a bit of trouble figuring out how to have a client connect to a server with the correct cert, and fail if the cert is incorrect. My use case is build a p2p application…
nflacco
  • 4,972
  • 8
  • 45
  • 78
0
votes
1 answer

Mutual SSL Authentication with gSOAP

I am trying to connect with a SOAP Service which requires Mutual SSL Authentication. We created a self-signed certificate and transferred it to the service operator for them to verify our connections. Likewise, they sent us a copy of their ssl…
Paddy O'Loughlin
  • 1,662
  • 2
  • 14
  • 13