HOWTO: Solve the “Server certificate was rejected by the verifier” exception

This blogpost applies to Rebex components since version 2012 R3. It's an updated version of a blogpost we publised in 2009. If you wrote an application using Rebex FTP/SSL or Rebex Secure Mail component and get the “Server certificate was rejected by the verifier because…” error when connecting to…