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

Configure generated Client certificate from API gateway to spring boot (mutual authentication)

I am trying to configure spring boot two way authentication with the key generated from AWS API gateway (which is .pem format with no private key in it). I tried to convert key from AWS API gateway into .jks format (as spring boot throwing invalid…
1
vote
0 answers

Key Usage and Extended Key Usage certificate extension values should be required in client authentication

Anyone knows in client authentication, what are the Key Usage and Extended Key Usage purposes we should validate? As per the specification in [1]: "Extended Key Usage" is not necessary and which is configured in addition to or in place of the basic…
1
vote
0 answers

.crt to .p12 file conversion gives "unable to load certificates" error

I have a name.crt file i convert it using the following command openssl pkcs12 -export -in name.crt -inkey name.key -out name.p12 -name "name". I get the following error unable to load certificates but the name.p12 file gets generated which I am…
1
vote
1 answer

Get subject DN from clients certificate in Go gRPC handler

I'm using Golang gRPC with mutual tls. Is it possible to get client's certificate subject DN from rpc method? // ... func main() { // ... creds := credentials.NewTLS(&tls.Config{ ClientAuth: tls.RequireAndVerifyClientCert, …
1
vote
1 answer

IIS Server 403.7 error not recognizing Client Certificate for ASP.NET app

I am attempting to perform mutual authentication between 2 systems but server keeps returning 403.7 even though the client is possessing the correct certificate. I have done some diagnosis and it seems that although the app is processing the…
natchan
  • 138
  • 1
  • 1
  • 12
1
vote
2 answers

Is there a way that I can do Mutual SSL without direct acces to the Websphere keystore in Java?

I'm trying to establish Mutual SSL between 2 Websphere 8.5.5 servers. I'll just call them ServerA and ServerB. ServerA: Client side, added ServerB's SSL certificate into DefaultTrustKeyStore. ServerB: Server side, added ServerA's SSL certificate…
Kaninchen
  • 455
  • 2
  • 7
  • 19
1
vote
1 answer

Mutual SSL authentication with PHP SOAP

I'm trying to get mutual ssl authentication working between two LAMP servers. I actually have 3 servers. One being the master and the other two are clients making SOAP calls to it. On the master and one client I have Comodo Postive SSL certificates…
John Mc Murray
  • 363
  • 5
  • 17
1
vote
0 answers

SSL certificate - Use Client certificate installed on server for local testing - Mutual authentication

I have been working with web services connecting to URLs provided by different clients and so far it has all been done using one-way authentication. Now I'm asked to enable 2-way (mutual) authentication for one of the clients. I did a lot of…
radkan
  • 599
  • 4
  • 9
1
vote
1 answer

Sending an HTTP request with client certificates in Chrome

I have an API on Azure that is protected with mutual authentication. The server certificate is internally handled by Azure: I've created a self signed certificate and added it to my local computer's list of Trusted Root Certification Authorities as…
1
vote
1 answer

ssl23_get_server_hello:tlsv1 alert handshake failure android 4.4

I am working on an client - server application project with an Android client and Apache server and mutual authentication (i.e., client certificate). I am poor in SSL/TLS. Server authentication get done all okay but when it comes to client…
1
vote
0 answers

Openssl Client Certificates

I'm trying to create a basic SSL socket using self signed certificates. I'm following Ubuntu's guide at OpenSSL. I have a working server_crt.pem and server_key.pem. When I place the server_crt.pem in my client (as well as having it in my server) the…
Babra Cunningham
  • 2,949
  • 1
  • 23
  • 50
1
vote
1 answer

2-way SSL authentication / mutual authentication example need in LoopBack

I'm looking for example of implementation of 2-way SSL authentication / mutual authentication example in LoopBack API framework(featured by StrongLoop API Platform) I need to connect with SOAP API with mutual authentication. I found these…
1
vote
0 answers

Secure websocket (wss) client in java

I am trying to connect to a secure websocket server, i am using org.eclipse.jetty.websocket websocket-client 9.3.8.RC0
dhandai
  • 77
  • 1
  • 3
  • 17
1
vote
1 answer

X509Certificate2 from store with private key

I have a X509Certificate2 with private key NOT exportable from the Windows store with this code: X509Certificate2 oCertificato = null; X509Store my = new X509Store(StoreName.My,…
1
vote
1 answer

Java client using client-auth works in code but not with vm-arguments

I have created a keypair with keytool for client authentication. From this file I exported the public key as certificate for the server to authenticate the client. Client setup: Loaded the server certificate into a truststore file and used the…
G.R
  • 65
  • 6