Connection Error : SharePoint Connected System

Certified Lead Developer

While trying to setup connected system for Sharepoint using Client Credential authentication system, we are getting the error as 

We have used Sharepoint OOTB Conneted system and provided the Client Credential Authentication details like, instance URL,Application (Client ID), Client Secret and Directory( tenant ID). We have also obtained the SSL certificate for the sharepoint Online in PEM format and uploaded in Admin console-> Trusted server certificates. 

Can anyone help resolve this error to establish the connection successfully?

  Discussion posts and replies are publicly visible