|
We're using the Rebex FTP/SSL component on mono (under OS/X) and the certificate verifier is throwing an exception. The exception looks like this:
We've implemented our own ICertificateVerifier as per instructions received from Rebex. Everything was working in Rebex FTP 2.5.3127 but since we updated to the latest build (3.0.3484), it no longer works. In fact, it doesn't even seem to be calling our ICertificateVerifier code at all. I tried linking agains the old Rebex 2.5 build and it started working again. The code we're using to insert the certificate verifier looks something like this:
The CertificateVerifier class more or less overrides Verify() and returns TlsCertificateAcceptance.Accept. Any insight would be appreciated. |
|
Mono is not a supported platform yet and we don't run our automated test suites of Rebex FTP/SSL (or any other Rebex component) on it, although we have plans to do so in the future. In this particular case, it appears that we added some logging code designed to output server certificate subject name into a log just before calling the custom verifier, and this code fails on non-Windows platforms. We will solve this for the next release - in the meantime, I sent you a link to the current build to your e-mail. Please give it a try and let me know whether it solved the issue. Thanks for letting us know about this! |