Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Client certificate validation failed(Client certificate validation failed)
Client certificate validation failed [message #1844685] Tue, 21 September 2021 13:55
Karuppiah Mising name is currently offline Karuppiah Mising nameFriend
Messages: 1
Registered: September 2021
Junior Member
Hi,

In the mosquitto conf file, I have included the option "require_certificate true" to validate the client. However, when the client connects, I am getting the below error in the file mosquitt.log

========
1632231428: OpenSSL Error[0]: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
1632231428: Client <unknown> disconnected: Protocol error.
=======

I have already added the client certificate to the 'cafile'.

Could you suggest any solutions to resolve the issue?

NOTE: The client certificate and server certificate are not generated from the same CA. In my case, the client certificate is self-signed. Hence I added the client certificate into 'cafile'.

Regards,
Karu
Previous Topic:Disable Client Certificate Date check
Next Topic:how to determine which TLS ciphersuite was negotiated for a client connection
Goto Forum:
  


Current Time: Thu May 02 14:44:42 GMT 2024

Powered by FUDForum. Page generated in 0.03583 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top