A patch has been submitted which adds support for client certificates for MatrixSSL-1.8.6 (this feature exists only in commercial version).
This patch doesn't require any modifications in Crypt::MatrixSSL to use, just save it as matrixssl-1-8-6-open.patch (it originally named matrixssl-1-8-6-open-clientcert-1.0.patch) and build Crypt::MatrixSSL.
This patch may be included in future releases - those who wish to use it now:
You can download patch here:
http://code.google.com/p/matrixssl-clientcert/
If you decide to use it in Crypt::MatrixSSL, then here are few things to keep in mind:
* It may make sense to add a flag which will signal is this feature is available or not, so client applications may check if it is (currently matrixSslNewSession() will just die if called with $SSL_FLAGS_CLIENT_AUTH flag, if it wasn't built with that patch).
* Probably some tests to test this feature.