[Interest] SslServer issues

Richard Moore rich at kde.org
Sat Feb 23 16:54:50 CET 2013


On 21 February 2013 18:32, Francesco Lamonica <alienpenguin at gmail.com> wrote:
> i've implemented a simple SslServer inheriting from QTcpServer and
> overriding the incomingConnection() as suggested from the documentation.
> However i am stumbling on a strange problem: QSslSocket fires correctly the
> sslErrors() signal for a "self-signed certificate" but even though i do not
> call ignoreSslErrors() at any time the connection is not dropped (as it said
> it should on the docs)
> Any ideas what i might check?

You'll need to make your question much clearer. A server socket
doesn't verify it's own certificate, that is something done by the
client. Any certificate verification done by the server is of the
chain provided by the client.

Cheers

Rich.



More information about the Interest mailing list