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

Mutual Authentication - null cert chain

I'm trying to set up mutual (2 way) SSL authentication. Ultimately I will have a mulesoft application (as client) calling a webapp (as the server). For now I am testing using Firefox browser as the client to simplify testing. I followed this…
Craig
  • 341
  • 2
  • 9
  • 18
2
votes
2 answers

Connect to openssl server using .Net

I've been given a server application that is listening for a client connection. The following openssl command does connect... openssl s_client -key provided.key -cert provided.crt -CAfile provided.pem -connect 127.0.0.1:59123 I have a C#…
2
votes
1 answer

Spring Boot in Azure - Client Certificate in Request Header

We currently implemented mutual authentication in our Spring Boot application and need to deploy it in Azure. Azure's loadbalancer redirects the client certificate (Base64 encoded) in the request header field "X-ARR-ClientCert" and Spring is not…
2
votes
0 answers

SSL mutual authentication with pfx certificate and Alamofire Swift

I've to send a client certificate in PFX format for mutual auth to my server through web request. I'm using Alamofire 4 with Swift 3, but I can't find a good tutorial to achieve my goal. Has anyone ever had to deal with this type of problem in the…
Fry
  • 6,235
  • 8
  • 54
  • 93
2
votes
1 answer

TLS 1.2 connection using Client Certificate and secp512r1 fails

I'm trying to implement mutual TLS connection. Here is the flow: I generate the csr request (using elliptic curve key, secp512r1) Send the signing request to the server and receive the public key certificate as a response I make p12 certificate…
Ross Stepaniak
  • 877
  • 1
  • 6
  • 22
2
votes
1 answer

RabbitMQ Mutual authentication using self signed certificates

I have religiously followed the instructions given at the RabbitMQ site to set up mutual authentication between a RabbitMQ server and a .Net client (using the official RabbitMQ client available at…
2
votes
1 answer

Python SSL Socket Certificate Verify Failed Error

I am trying to connect to SSL based host, using Python Sockets wrapped with SSL. When I try to connect using openssl client, I am successfully able to connect over ssl and receive response: On Terminal, openssl s_client -tls1_1 -connect…
Osama Rasheed
  • 159
  • 3
  • 16
2
votes
1 answer

Server to Server Enterprise API Security

I'm building a .NET Web API application being hosted in the Azure cloud, that will need to consume a different API hosted in a company's intranet. Assume I'm building both APIs. Client = Azure .NET Web API Server = Intranet API I need to know the…
2
votes
2 answers

s_client and gethostbyname failure

I am working with an external company. Lets call them evilcorp.com. I want to use openssl to debug a two way SSL handshake. https://evilcorp.com is setup to not require client authentication. https://evilcorp.com/webservices is setup to require…
arahant
  • 2,203
  • 7
  • 38
  • 62
2
votes
1 answer

WCF - Could not establish secure channel for SSL/TLS with authority after upgrade to .Net 4.6.1

Since upgrading to .Net 4.6.1 I can no longer call a third party web service but get the error 'Could not establish secure channel for SSL/TLS with authority...'. I can workaround this in a couple of ways but I don't find these ways acceptable. a)…
2
votes
1 answer

How to implement mutual authentication for client in Openssl?

What function calls do I need to do for mutual authentication ? I have searched a lot, but didn't find anything useful. Can anybody help me doing this ?
Bharat
  • 265
  • 1
  • 6
  • 12
2
votes
1 answer

Mutual Authentication in Tornado with self signed certificates

Going through the Tornado docs, I can't seem to find a treatment about two way SSL authentication. Currently the codes looks something like this using self-signed certificates: import tornado.ioloop import tornado.web import…
2
votes
1 answer

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

I have the following connector configuration in server.xml:
Angel
2
votes
2 answers

Mutual SSL: unsupported_certificate and client certificate format

I have been told to connect to a customer's server using two-way authentication. The server authentication is working smoothly but we are having huge troubles getting the client authentication in place. Let me try to explain our hassles. Some time…
Stine
  • 1,605
  • 5
  • 23
  • 44
2
votes
2 answers

Make client send certificate to server during authentication

I have set up my client-server communication using OpenSSL and my server is sending it's certificate. Now, I want to make my client send a certificate to the server as well. On my client side, i have the following code: ctx =…
Randomly Named User
  • 1,889
  • 7
  • 27
  • 47