Error in mapping the SSL cert - System.Security.Cryptography.CryptographicException


I am trying to consume a SOAP service with https endpoint using the SSL certificate. I have installed the certificate in my outsystems environment and when I try to map it to the service and publish the module, I am getting below mentioned error.

The system cannot find the path specified.

System.Security.Cryptography.CryptographicException: The system cannot find the path specified.

   at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)

   at System.Security.Cryptography.X509Certificates.X509Utils._QueryCertFileType(String fileName)

   at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags)

   at OutSystems.HubEdition.DeployService.Deploy.CheckCertificates(String espaceName)

   at OutSystems.HubEdition.DeployService.Deploy.DeployEspace(String espaceName, String espaceKey, Int32 espaceVersionId, Boolean fromSS, Boolean developmentMode, String userName, Boolean partial, Boolean forceRedeploy, Boolean fromCompilerService, String uniqueId, IEnumerable`1 onDeployInvokeUrls)

CompModule : Broadcast Message

Did anyone face this similar issue & any help to resolve this ?



Hello Karthik Jeyaraman

Have you specified the full path to the certificate ? 

besides that you could check the following ( if you run OutSystems on premise):

  1. Go to IIS Manager
  2. Go to the application pool instance
  3. Click advanced settings
  4. Under Process model, set Load User Profile to true

According to this source:


Alternatively it could also be related to the certificate structure as detailed here:

With kind regards,

Michael de Ruijter