I have an issue connecting to a secure IMAP with a client certificate in C# and not sure how to move forward. This is in part a theoretical question as I cannot get access to the server myself for testing.
Using the rebex imap browser a person on-site can access the connection after accepting the certificate from the popup.
Our rebex usage consist of an desktop application used for configuring, but the actual access is from a service application. I have tried to port the rebex code as closely as possible to our application. When trying to connect without the certificate popup code I get "Server certificate was rejected because of an unknown certificate authority", which makes sense, because the certificate popup code is not used.
When I do use that code with the verifier, the error is this "An exception occurred in certificate verifier".
The desktop application and service application are not necessarily running using the same credentials.
How can I move forward to resolving such issue? The version currently used is 2017R3.