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

Mutual Authentication Client "PKIX path building failed" and "unable to find valid certification path to requested target"

I am programming a client with mutual authentication. The Server has provided me with certificate (.cer), key and password. With these I can connect through Insomnia without problems. Through openSSL I have generated a pfx file that I use to connect…
0
votes
0 answers

Windows client not receiving server Change Cipher Spec message at end of mutual TLS handshake

Windows .NET client app connects successfully to Java server and initiates TLSv1.2 handshake. Packet capture at server shows: C>S Client Hello S>C Server Hello, Certificate, Server Key Exchange, Certificate Request, Server Hello Done C>S…
0
votes
0 answers

GRPC mutual authentication

Could someone tell me how to configure GRPC mutual authentication in micronaut. All the examples I've found so far refer only to a pure grpc server in java. At the moment I have this config: grpc: server: port: 8081 ssl: certChain:…
Miły
  • 11
  • 2
0
votes
0 answers

how do i use client PFX certificate in java like i use it in postman

I use PFX file in postman like this but I want to use in spring boot as like postman.` I tried: System.setProperty("javax.net.ssl.trustStore",…
0
votes
0 answers

Pentaho: establish a connection using mutual authentication

I'm trying to configure Pentaho using a mutual authentication to service now. I've a public key and a private key but I'm getting "User not authenticated" I set up the following configuration in Postman: Added a client certificate: Host, crt…
CSC
  • 1
  • 1
0
votes
1 answer

Spring Webflux : mutual authentication fails on second request

I am in a context of TLS mutual authentication (server certificate and client certificate). My client is a Spring Boot application with webflux (WebClient). The WebClient instance is created once and for all (the client runs as a service 24/24h). My…
Jonathan
  • 127
  • 1
  • 11
0
votes
0 answers

Can I enable Firefox to present the expired client certificate for establishing mutual TLS (mtls)?

Is there a way Firefox browser can present the expired client certificate for establishing the mutual TLS? At the moment, its not picking up the expired client certificate for presenting it to the server while establishing the MTLS connection. I…
CHash11
  • 746
  • 4
  • 14
  • 31
0
votes
0 answers

Programming Desfire 8k EV1 smart card for use in public transporrtation

I have nfc tag cards of Desfire 8k EV1, which is nfc forum type4 The smart card also has three technologies: IsoDep, NfcA, and NdefFormatable. The card can accept read/write with it NdefFormatable without any initial setup by my hand. So I consider…
0
votes
2 answers

To Invoke Mutual SSL Enabled endpoint in WSO2 EI 6.4.0

I am trying Mutual SSL in WSo2 EI by following exact steps mentioned in this blog WSO2 EI acts as client and Axis2server is backend All Pre-requisites mentioned in this blog done and detailed steps are in another raised questions. Axis2Server…
0
votes
1 answer

Mutual SSL in WSO2 EI 6.5.0 - FileNotFoundException - Could not load customSSLProfiles from file path

I am trying Mutual SSL in WSo2 EI by following exact steps mentioned in this blog WSO2 EI acts as client and Axis2server is backend Creation of keystore, Exporting certificate, Import the Axis2 certificate into wso2 EI Truststore done successfully…
0
votes
0 answers

wamp ssl mutual authentication

I have a wamp web service on my localhost and I want to enable mutual tls authentication. Until now I was able to make my service accessible only with https requests but still there is no mutual authentication. How can I do that?
0
votes
0 answers

OkHttp Mtls config with self-signed certificates

Trying to connect an android Java App to an API secured with mTLS that uses self-signed certificates I tried the following code. The TLS part is working since when disabling the certificate authentication on server side the get request goes through…
0
votes
1 answer

To enable Mutual SSL Authentication (2 way SSL) in WSO2 EI 6.X.X(Docker)

There is a requirement in which client app will accept only certificate based authentication, I believe this can be achieved by enabling mutual SSL Auth in WSO2 EI. This above scenario will applicable for both Inbound (Client APP --> WSO2 EI)and…
0
votes
0 answers

Can a Gateway inside a mesh communicate with workloads outside the mesh?

Is it possible to reach workloads outside the mesh (i.e. without sidecar) from a gateway that is in a mesh? We have istio gateways working without mesh enabled, as soon as we enable the mesh, gateways are only able to communicate with workloads…
Hazim
  • 1,405
  • 1
  • 11
  • 24
0
votes
1 answer

"Certificate does not contain any CA certificate" error when I create a SSL profile on Azure Application Gateway

Let me explain more about the scenario. I have a web application that is hosted on an Azure App Service Plan. I created two certificates "Root" and "Child" with the blow command: Generate root cert: $pwd = ConvertTo-SecureString -String "123" -Force…