CryptographicException: The system cannot find the file specified.

In case you are experiencing following error, telling that X509Certificates cannot be found, please remove unnecessary configuration sections form your web.config.

KanBo issue CryptographicException: The system cannot find the file specified.


If you KanBo is installed on Office 365 remove:

<!-- <on premise> -->
<add key="ClientSigningCertificatePath" value="{CERTIFICATEPATH}" />
<add key="ClientSigningCertificatePassword" value="{CERTIFICATEPASSWORD}" />
<add key="IssuerId" value="{ISSUERID}" />
<!-- </on premise> -->

If you KanBo is installed on SharePoint on-premises remove:

<!-- <o365> -->
 <add key="ClientSecret" value="{ClientID}" />
 <add key="IsOffice365" value="false" />
 <!-- </o365> -->
CryptographicException Certificate Certificates X509

Is this article helpful for you?