Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, September 2007
Problems with qsslsockets and startserverencryption


Message 1 in thread

Hi,

I am working on a ssl client/server using qsslsockets but i have got some problems with 
the server. If i call startserverencryption() after the client has connected to the server 
successfully (but  is still unencrypted), the server disconnects with "The peer did not 
present any certificate" although the client has got a valid certificate.
When playing around with openssl s_client and s_server options i found that my qssl 
server does not send a certificate request back to the client.
If i omit the startserverencryption-call and use startclientencryption() with the client 
instead, the ssl handshake "freezes" completely as the server does not send a "server 
hello" back to the client. 

Does a call to startserverencryption () not include a request for the client' s certificate?
What have i need to call additionally?

Thanks in advance!

Winni

--
 [ signature omitted ]