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

How to use private key on a PKCS#11 module instead of perivate key file for mutual-authentication in OpenSSL?

I've a simple SSL client that uses OpenSSL library. My server requires client authentication & so I've to set client's private key stored in a password protected PEM file. I use the following code for this purpose: /* set the private key from…
2
votes
1 answer

In mutual authentication/two way ssl over HTTPS, is the client certificate passed each time to the server with every call?

Also, is the server certificate also passed each time for every response? And is there any particular link/book where I can do more reading specifically about these things? Thanks.
GrowinMan
  • 4,891
  • 12
  • 41
  • 58
2
votes
1 answer

Nginx two-way authentication between two play services

I have two remote servers that run two play framework services (client, server) and I want to configure SSL mutual Authentication between them. Iam using Nginx as a reverse proxy to the server and Iam trying to use Nginx as forward proxy in front of…
Amr Kamel
  • 432
  • 6
  • 16
2
votes
1 answer

Nginx Mutual Authentication

I have a problem with Nginx and Mutual Authentication. My server is configured like below: server { listen 12443 ssl; server_name localhost; ssl_certificate certs/cert.crt; ssl_certificate_key certs/cert.key; ssl_session_cache …
Konrad
  • 21
  • 4
2
votes
0 answers

Mutual-Authentication SSL with self-signed client certificate

In our firm I currently have script that connects to an outside vendor on HTTPS, via SSL. The script only performs server authentication. This is it: use HTML::Parser; use HTTP::Request::Common; use LWP::UserAgent; use XML::Simple; local…
Namuna
  • 1,030
  • 8
  • 16
2
votes
2 answers

Two way authorization with PFX file

I have a problem with two-way authentication. I Use tomcat6 as a server and as a client I try IE, Firefox and my own java application. The problem occurs using PFX certificates given to me by someone else. I have to use them as a client certificate,…
Deo
  • 138
  • 1
  • 2
  • 8
1
vote
1 answer

Issue with Mutual TLS Authentication Setup on Vespa Data Plane

I have set up mutual TLS authentication on my Vespa Data Plane by configuring a TLS certificate, following the steps outlined in the Vespa security guide: https://cloud.vespa.ai/en/security/guide. The process involved generating a TLS certificate…
1
vote
3 answers

Mutual SSL enabled API call is not happening via postman in WSO2 API Manager 4.1.0 GA Release

I am trying Mutual SSL in WSO2 APIM 4.1.0 GA Release. I have created Self signed certificate by using Java Keytool. OS : Windows 11 Below are the commands to generate certificate: Creating new Keystore: keytool -genkey -keyalg RSA -alias…
Justin
  • 855
  • 2
  • 11
  • 30
1
vote
0 answers

How to "clear cookies" in Chrome/Firefox for mTLS?

How do you tell Chrome to stop using a specific mTLS certificate to login to a website? Whenever I connect to a website supporting mTLS (Mutual TLS), I get a prompt from my browser to pick a certificate to login to the website. (Just like the…
1
vote
1 answer

How can i solve [Received fatal alert: bad_certificate]?

I've created two servers locally, and I'm going to apply a mutual authentication to their communication. I just don't know what the problem is. I lack understanding of this mechanism, but I also lack understanding of the server itself. Create each…
Yesora Choi
  • 13
  • 1
  • 7
1
vote
0 answers

Certificate management and use in rabbit mq auth backend

How can we automate certificate management and its distribution with rabbitmq? Is there any opensourced solution for creating self managed CA and certificate management to enable mutual authentication in Rabbit MQ
1
vote
0 answers

Possibility to bypass the Certificate Verify in mutual authentication (mTLS)

In the TLS handshake process, the Certificate Verify message will follow the Client Key Exchange message after the server requested a client certificate. The Certificate Verify contains a digital signature computed over all previous handshake…
Blaise Wang
  • 556
  • 5
  • 17
1
vote
1 answer

Should we compare thumbprints in Mutual TLS?

When implementing Mutual TLS using https://learn.microsoft.com/en-us/aspnet/core/security/authentication/certauth?view=aspnetcore-5.0 I see they are comparing the thumbprint of the client certificate to the thumbprint of the server certificate. But…
1
vote
1 answer

Does mutual SSL of WSO2 APIM support custom CA certificates for client certificates?

I read the documentation of Securing APIs with Mutual SSL" for WSO2 API Manager 4.0.0. According to the document, you can register the client certficate that is authorized to access the API. However, the document has no description about the…
1
vote
1 answer

Call api with curl and TLS 1.2 Two Way with public certificates of entities

I am currently calling a service which requires mutual authentication with curl and ubuntu, currently I have the following certificates certRoot.cer, certSub.cer, domain.com.cer and pubkey.pem, to add the certificates to the path…