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

SSL Mutual Authentication on Linux

It must be something really simple but right now I am not getting anywhere with this (I am not a network geek but a programmer). We are trying to secure web services created between our server and a vendor. Our vendor is asking to send them the…
Rahi
  • 1,435
  • 1
  • 12
  • 20
0
votes
1 answer

Switching git global config between gitlab and github

Where I work we have a hosted gitlab which requires a clietn ssl certificate to allow connection. That has been configured in git global config so my ~/.gitconfig and it works well. The client certificate request is only at the reverse proxy level.…
black sensei
  • 6,528
  • 22
  • 109
  • 188
0
votes
0 answers

Mutual SSL auth fail at handshake

I'm trying to connect to a web service protected by mutual authentication. I'm using cxf web client and the client is configured like below KeyStore keyStore = KeyStore.getInstance("JKS"); KeyStore trustStore =…
0
votes
0 answers

Invalid Keystore format - after converting to JKS from pfx

I am on Java 1.7.0_60. I have a pfx keystore which I converted to JKS keystore using below: keytool -importkeystore -srckeystore mypfx.pfx -srcstoretype pkcs12 -destkeystore myjks.jks -deststoretype jks Now when I use this JKS keystore in my code…
james2611nov
  • 473
  • 2
  • 10
  • 27
0
votes
1 answer

Setting up Two way SSL Authentication on Pivotal Cloud Foundry

I have a task to set up two way ssl authentication between Zuul Proxy app (client) and one of microservices (server). Both are Spring Boot apps. I was able to do it locally with self signed certificates and next configs: For server I set up SSL in…
Oleg Kuts
  • 769
  • 1
  • 13
  • 26
0
votes
0 answers

How to use private key and public key with chain in a mutual ssl authentication

I'm facing with a problem with mutual ssl authentication. I have generated a csr and a private key, I gave the csr to the our customer CA that signed it and gave me back the certificate/public key with the a chain inside. When I try to communicate…
Felpax
  • 1
  • 1
0
votes
1 answer

ionic framework / ionic native http: ssl client based authentification

im refering to this issue: https://forum.ionicframework.com/t/ionic-native-http-ssl-client-based-authentification/129596 any ideas how to implement ssl client based authentification (mutual tls) within the ionic framework? im using the ionic native…
0
votes
2 answers

TLS Mutual Authentication in WebAPI hosted on Azure

We have a webapi hosted on azure, we need to enable TLS Mutual Authentication. My question is, how do I restrict the calls to only allow requests coming from one (or set of) certificates that I know the caller will be sending. I can read some…
0
votes
2 answers

mutual Authentication PBOX00052: Supplied credential did not match existing credential for alias

I have created a server.keystore and then a client.keyStore with a client.crt which i used to client.truststore the server.keystore with alias devmyserverkey /myserver_opt/jdk1.8.0_latest/jre/bin/keytool -genkey -alias devmyserverkey -storetype…
sarmahdi
  • 1,098
  • 4
  • 21
  • 61
0
votes
0 answers

how to make clm application to connect DB on tcps port

we are using clm 6.0.3 with liberty profile and oracle db 12c for our applications. Java.runtime= Java™ SE Runtime Environment (pxa6470_27sr3fp40-201604220_01 (SR3 FP40)) our IBM clm applications are hosted on Websphere Liberty Server 8.5.5.9…
saran
  • 139
  • 1
  • 2
  • 12
0
votes
1 answer

Mutual TLS with Apache proxy to Tomcat

The setup I am working with involves an Apache server acting as a proxy to a tomcat server which serves several web applications. I have enabled mutual TLS on apache and I can successfully connect to one of my tomcat web applications and verify the…
user1845360
  • 847
  • 2
  • 12
  • 29
0
votes
1 answer

Provided certificate and key as part of SSL handshake

I have a java 8 which sends web requests outbound to a server that requires mutual authentication. I can connect using a curl command and passing the following arguments --cacert ./cert.pem --cert server.crt --key server.key What do I do with…
Sim
  • 570
  • 1
  • 10
  • 22
0
votes
1 answer

What is second hand-shake happening with TLS 1.0

Description of the Issue: I am trying to connect to TLS 1.0 from the windows laptop to Windows IIS server. We have mutual authentication set-up at IIS. Please see below the calls made for the handshake: So it starts with client hello on frame no…
Kowshik
  • 5
  • 2
0
votes
1 answer

there is an issue with NSURLAuthenticationMethodClientCertificate that no return

I am using mutual authentication in iOS 10 that with if statement bellow mutual authentication works correctly. -(void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { if…
Steven
  • 762
  • 1
  • 10
  • 27
0
votes
1 answer

How do I configure jetty to listen on multiple ports for ssl connections: one with mutualAuth, one without

I'm fairly new to jetty, but I've dug through a lot of pages trying to find the answer to this one. I'd like to have a single jetty instance running a single webapp. I need it to listen for SSL connections on two ports one that uses mutual ssl,…