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

Java RMI Exception : how to use .keystore file of server for RMI connection with client

debug traceGetting JRMP connection error, while connecting to host. I have a valid server certificate for RMI connection in .keystore format, but I don't know how to use this certificate for two way SSL connection. Any configuration is required in…
0
votes
0 answers

Kubernetes mutual trust using multiple intermediate certificates

I am trying out a scenario where mutual trust can be established between the client and server using kubernetes ingress controller. We have two types of clients who would access our service deployed in k8s: Internal systems/users External…
0
votes
2 answers

In Jenkins pipeline, what is the correct way to perform mutual-authentication REST requests?

I am calling a REST service from a Jenkins Pipeline. This REST service uses mutual authentication so I must provide a client certificate to authenticate. I could store the certificate with my Jenkinsfile in Git - could I then pass this cert to the…
0
votes
1 answer

Test WCF with Mutual Certificate Authentication using SOAPUI

I´m trying to test a WCF service with mutual certificates authentication using a client on C# and it works; now I want to test the service using SOAP UI. This is the service configuration:
0
votes
1 answer

How to use mutual authentication without CA in hyperledger fabric

I want to use some certificateless mutual authentication methods in hyperledger fabric. but it seems fabric needs a CA. is there any solution for this? am i wrong or fabric really needs CA all the time?
0
votes
0 answers

How to dynamically load new client certificates on MTLS authentication

Supposing I have a nginx server with mtls enabled. The nginx instance works ok for the client certificates already configured. Is there any way to add extra client certificates (newly registered_ without restarting the server? If not are there any…
gkatzioura
  • 2,655
  • 2
  • 26
  • 39
0
votes
2 answers

How to override Spring boot keystore/truststore for mutual SSL

I have a Spring Boot application. Its application.yml is fetched from an online resource. It contains the following config for mutual SSL: server: ssl: enabled: true client-auth: need key-store-type: PKCS12 key-store:…
jerthiry
  • 11
  • 1
  • 5
0
votes
1 answer

Is it possible to enable mutual SSL in Apache Web 2.4 on a per API Respurce level?

As indicated on the title. Is it possible to set mutual ssl on Apache 2.4 on a per context or API resource level? We have an API gateway fronted by Apache 2.4 which is protected using Mutual SSL. We have a mobile app that needs to consume an API…
chitzkoy
  • 1
  • 1
0
votes
1 answer

How to properly perform mutual authentication in java and weblogic 12c?

I have a java application running on a WebLogic 12c instance. I would to perform a mutual authentication with HttpsURLConnection but I didn't understand if I need to create a SSLSocketFactory (code side approach) and/or setup the "Two Way Client…
0
votes
1 answer

TLS client certificates : which attribute for authorization?

I am trying to setup a web service which uses x509 client certificates sent during the TLS handshake for authentication as well as to check whether the user has the auhorization to access the requested ressource. The idea is that each user is…
0
votes
0 answers

Post resttemplate in Spring does not work and get works

This is my client code: @GetMapping("/") public String home() throws NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException, KeyStoreException, KeyManagementException, UnrecoverableKeyException, RestClientException,…
0
votes
1 answer

Enforce Two-Way SSL in Java CXF clients

Two-Way SSL - or mutual authentication - is typically dictated in HTTPS by the server. For example, this tutorial explains how to set up WildFly application server to require webservice clients to present a certificate during communication. However,…
Florian Patzl
  • 174
  • 1
  • 13
0
votes
1 answer

Getting client ip when doing ocsp in Netty

I'm making a secure tls connection with Netty. I use mutual authentication on my connection. The certificate from the client is validated with ocsp. Validation procedures with Ocsp are done in the same way that I define netty as…
Rahmican
  • 123
  • 1
  • 6
0
votes
1 answer

Mutual SSL - client certificate chain emtpy when using java as a client

We are using java client(openJDK 1.8.0) to call an api that needs mutual authentication. For this we are using java standard JKS file as a keystore and truststore (same file for containing both trustcerts and identity certs/privatekey). Sample java…
buch11
  • 872
  • 3
  • 13
  • 29
0
votes
0 answers

Mutual auth with Java (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…