CryptographicException while trying to access mysql on TLS: System cannot find the specified file

This question is not a duplicate of others. Here the specific problem is around Classic ASP which is the clear differentiator for this question.

I am facing this issue which I think many people have faced and after setting Load User Profile to true in IIS, It got resolved for them.

Similar question on Stack Overflow on this.

In my case, this solution worked partly. For ASPX pages, this method worked but I have some classic asp pages also which calls COM Visible c# component. In this flow, it fails with this exception.

I have tried many things so far but no luck. Any point in the right direction will be of great help.

System.Security.Cryptography.CryptographicException: The system cannot find the file specified. at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) at System.Security.Cryptography.X509Certificates.X509Utils.LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle pCertCtx) 
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum