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
2
votes
1 answer

Does Azure Key Vault support Client Certificates?

Does Azure Key Vault support storing Client Certificates for mTLS authentication? Example: I have an HTTP-triggered Azure Function (Python) Has HTTPS: Yes and Client Certificates: Required enabled in the Function App When user sends a request to…
2
votes
1 answer

How do Azure Function Apps handle Client Certificate Auth?

Hopefully I can make this clear enough. Goal: Client Certificate-Authenticated Azure Function Scenario: Azure Function App with: HTTPS Only: set to Yes Client certificate mode: set to Require HTTP-triggered Azure Function (Python)…
2
votes
1 answer

Mutual authentication in GRPC c++?

I would like to know how to use Mutual Authentication in GRPC C++. My GRPC client is running on an embedded hardware and has a self signed certificate. I'm creating an SslCredentialsOptions object that I use to create a secure…
Arvind
  • 75
  • 1
  • 8
2
votes
1 answer

Spring Boot - self-signed mTLS - necessary certificate

I have a problem with mTLS configuration in Spring Boot application. Question: How to authorize the request with self-signed certificate when the certificate is mandatory due to client-auth: need option Steps done until now: I create one self-signed…
Alex R
  • 175
  • 1
  • 12
2
votes
1 answer

Mutual Authentication in Scala with Akka

I would create a TLS Session in Scala using Akka with mutual authentication between a client and a server. I have created two CA certificate that have to trust the respective certificates incoming from the other part. Could you give me an exemple of…
Riccardo Califano
  • 1,317
  • 3
  • 10
  • 19
2
votes
1 answer

How to use jetty to set up 2 way SSL Authentication Connection

I want to create a servlet using 2 way ssl connector. I created test2wayssl.jks and initiated SslSelectChannelConnector When i send request from postman with client certificate, the response in postman is There was an error connecting to…
John
  • 791
  • 2
  • 7
  • 25
2
votes
2 answers

How to do mutual SSL authentication in java

I want to do mutual SSL authentication using java code but I didn't get success I have key.pem and cert.pem file to do authentication I have tried it with Curl curl -X POST -d '{ "Channel": "....}' -H "Content-Type: application/json" -H "Auth1: ***"…
2
votes
1 answer

How does one add certificate_authorities to CertificateRequest message in TLSv1.3

I'm setting up mutual authentication using TLS 1.3 using a spring boot server and curl client for testing. My truststore containts two certificate chains which are loaded correctly - in fact the mutual authentication works in this test…
ljgw
  • 2,751
  • 1
  • 20
  • 39
2
votes
0 answers

Azure TLS mutual authentication X-ARR-ClientCert not found

Hello i did followed how to configure TLS Mutual Authentication as described here , i checked also that my clientCertEnabled is enabled on my backend application by checking my ressource in https://resources.azure.com : "clientCertEnabled": true,…
ZIADIA Oussama
  • 151
  • 2
  • 13
2
votes
1 answer

Any free/public web service available which support mutual authentication?

Are there any free/public web service APIs (SOAP/REST) which supports mutual authentication? The purpose is to call this API using mutual authentication for learning purpose.
2
votes
0 answers

No available client private key

I am writing the client code which has to consume a web service which requires client certificate to authenticate. Code: String KEYSTOREPATH = "C:\\jks\\client.p12"; String KEYPASS = "password"; SSLContext sslContext = SSLContexts.custom() …
ruhewo
  • 97
  • 1
  • 10
2
votes
1 answer

Revoking SSL certificate in Mutual TLS authentication

I am trying to enable Mutual TLS based authentication for an application deployed in a Kubernetes cluster. Use cases: Want to restrict access to our application to only those users with trusted client cert. Based on certain situations/conditions, I…
2
votes
1 answer

Limiting Wildfly 14 Two-Way SSL to specific clients

We're maintaining a Java application with a JAX-WS SOAP API for external systems running on WildFly 14 application server. The external systems currently connect using common one-way SSL. Our goal is to switch communication to mutual authentication,…
Florian Patzl
  • 174
  • 1
  • 13
2
votes
1 answer

Mutual auth with Java (w/ client cert PFX file) and no access to environment

I have a Java Spring Boot web application deployed on an Azure App Service (not embedded Tomcat, but using App Service Tomcat PaaS). This application needs to make a call to a REST API, that is secured by mandating mutual authentication, i.e. with a…
Web User
  • 7,438
  • 14
  • 64
  • 92
2
votes
1 answer

SSL socket server get certificate cn after handshake

I have an SSL socket server running with a 2-side handshake required (for which I'm using self signed certificates). After the handshake was successful, I would like to check the client certificate's cn on the server side. Unfortunately this field…
Galveston01
  • 356
  • 2
  • 13