Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

SharePoint Online Connector: The client certificate can't be loaded from the configuration

Last updated on 31 January 2025

Admin
M-Files for Microsoft SharePoint

Overview

When you are setting up the M-Files SharePoint Online Connector in the M-Files Cloud, you need to provide ciphertexts of the necessary certificate.

In some cases, you may get an error like these in the Server tab of the M-Files admin page:

  • "The client certificate can't be loaded from the configuration"
  • "The client private certificate is unavailable. It can't be found from the certificate manager nor loaded from the configuration"

And when trying to save the configuration it won't be allowed 

Details

The certificate is generated locally (on-premises, at the customer side), then made into ciphertexts with OpenSSL, and the M-Files Cloud server generates a certificate from them by using standard .NET code.

If that generation has an issue, you get that error.

Solution

Step 1

Install and use Cygwin for the OpenSSL installation. It is important to download the version 1.1.x.  You can find example steps here (note that this is third party content and M-Files cannot guarantee is availability and correctness). In short:

  1. Download Cygwin.
  2. Install it with the Base package.
  3. Double check that OpenSSL 1.1.x is included in case it is shown as "skipped" or a different version (such as 3.x). 

Step 2

Generate the certificate again and go through the steps of the configuration guide using the openssl commands with the Cygwin terminal instead of any other tool. We have had reports that attempting to install OpenSSL directly or using it through other terminals sometimes results in issues with the ciphertexts and the errors above. We have not had reports of issues with Cygwin.

Note:  It is important to download and use the version 1.1.x of OpenSSL.  If the certificate generated from one system does not help, it is worth generating again from a different system. 

Still need help?