We trying to submit a tax return to HMRC using the UK Csf Epicor functionality. Epicor keeps coming back with the error System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
We tried many diffrent things and the error still stays the same. Did anyone faced the same issue and how you got it solved?
Sounds like Epicor needs the HRMC Root certificate added to the Certificate Store (inside Epicor) OR your Appserver needs the HRMC Root Cert installed at the OS level in the Certificate Store. Could be wrong though. I’d check the HRMC Help system.
I’ve checked the CSF PDF and it doesn’t mention any Certificate requirements only the Company Config/Localization set up for ClientID/Key.