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
0 answers

Deploy Nodejs SSL Auth

I build a small app that request browser certificates on server startup. *I used a sel-signed ssl with commands above, I think this might be the problem... openssl req -x509 -newkey rsa:4096 -keyout server_key.pem -out server_cert.pem -nodes -days…
nanquim
  • 1,786
  • 7
  • 32
  • 50
1
vote
1 answer

Chrome does not send client certificate, while certificate is valid

I am witnessing a weird issue with regards to mutual authentication. I have setup mutual authentication on BigIP loadbalancer to accept 2 different CAs. This means that we only accept certificates that has been issued by those 2 CAs. I have tried…
Tim Morgan
  • 31
  • 1
  • 3
1
vote
1 answer

Certificate not sent in CertificateRequest when running from Tomcat but sent when running from main class

We have a destination web application running a restful web service. This application runs in Tomcat 8.5 and has TLS enabled with 2-way authentication. Our application is also a web application running on Tomcat 9. The destination endpoint I am…
Vrushank
  • 2,763
  • 3
  • 27
  • 41
1
vote
1 answer

How to enable mutual Authentication only if this is the option user chooses to authenticate the system?

We provide different type of authentication mechanisms for our users to authenticate our app. One of them is using smart cards certificates installed on it. So I configured tomcat server.xml file (clientAuth = true) and added client certificates …
CoderGirl
  • 61
  • 1
  • 4
1
vote
0 answers

Connection Reset after Implementing Mutual Authentication

I have implemented certificate based authentication in my JavaCode,I am calling a webservice where mutual Authentication is enabled so they have given me .crt and .key file. After implementing everything works fine in my local machine but after…
Doctor Who
  • 747
  • 1
  • 5
  • 28
1
vote
0 answers

Nginx ssl_trusted_certificate directive problem

I have my nginx configured with client_certificate authentication: ssl_client_certificate /etc/nginx/ssl/cas.pem; ssl_verify_client optional; ssl_verify_depth 2; And is working fine, but I need to NOT send the CAs to the client during the…
niegus
  • 1,698
  • 4
  • 22
  • 34
1
vote
3 answers

Mutual authentication between EMV applets (such as MasterCard's M/Chip and Visa's VSDC) and POS Terminal

As I know, for EMV cards, before transaction taking place, the terminal perform Card Authentication (using Static Data Authentication or Dynamic Data Authentication) to make sure the card is not a fake card. (In reverse, it seem that there is no way…
Trung
  • 1,012
  • 13
  • 26
1
vote
1 answer

TLS Mutual Auth: null cert chain (C client -> Java server) unless cafile points to same file as cert

I have an issue with the server rejecting the client certificate in the handshake if I issue openssl call with just the cert (with chain) and private key. This issue goes away if I also set the cafile param and point it to the same file as the…
user1836155
  • 858
  • 14
  • 29
1
vote
0 answers

Is there a defined header which is used to pass the client certificate to the backend in mutual TLS scenario

First of all, title of my question is too long. But this is what I want to know. I have a server which is configured to handle mutual TLS with a client (this is done by Apache Axis2 code). But, during the deployment I had to put a reverse proxy (a…
1
vote
2 answers

How does sending client certificate not expose the client to impersonation

Alright so I will be referring to this picture for ease of communication Ok so the server sends a public key, which the client uses to encrypt its own certificate info to send back to the server. What I do not understand is why an attacker could not…
1
vote
1 answer

securing spring boot app with mTLS - running on Swisscom App Cloud

I have a spring boot app deployed to Swisscom App Cloud that should to be secured with mTLS. Obviously there's spring security... Specific to Swisscom App Cloud I read about securing traffic on…
1
vote
1 answer

Mutual Authentication in Cloud Foundry Application with NodeJS+express

I have developed a NodeJs+express application deployed as Cloud Foundry application in IBM Cloud. I want to perform mutual authentication (client and server certificates) in order to control incoming traffic and requests to my application. My…
HCF
  • 23
  • 7
1
vote
1 answer

Mutual SSL Exception sending alert: java.net.SocketException: Broken pipe (Write failed)

I have client app which connects to server and the authentication is mutual ssl. I am trying to setup mutual ssl but it is failing with below exception. I am giving rest call using resttemplate. *** CertificateVerify Signature Algorithm…
Rahul Singh
  • 781
  • 11
  • 27
1
vote
1 answer

Java client receives "connection reset" during SSL handshake with IIS server via F5 BIG-IP load balancer

We currently cannot find an approach to use Java code to connect to an IIS server (configured as mutual authentication) via a F5 BIG-IP load balancer, we have tried different Java versions and code, they all generated the same error. Here is what we…
Xin
  • 13
  • 1
  • 5
1
vote
0 answers

SSL fatal error: 80: wrapping app data

I wrote small HTTPS server using JAVA HttpsServer. I trust all certificates. Everything works just fine until I enable client auth. When this is enabled I am getting fatal error: 80: problem wrapping app data @Throws(IOException::class,…
Igor Khvostenkov
  • 714
  • 5
  • 15