On Wed, Oct 26, 2011 at 10:07 AM, Kermit <kermit.mei at gmail.com> wrote: > m_sslConfiguration.setLocalCertificate(QSslCertificate(".client.crt")); This line is wrong. See the docs at http://doc.qt.nokia.com/stable/qsslcertificate.html#QSslCertificate-2 for the method you're calling - it's not the one you want. Rich.