On Sat, Apr 19, 2014 at 8:19 AM, Kaspar Brand <httpd-dev.2...@velox.ch> wrote: > The problem is the one pointed out by Steve in [2] already, I think: in > the callback, SSL_get_privatekey() doesn't get us the private key which > is actually used for the current connection, it only returns the > "current" key i.e. the last one we configured. > > [2] > https://mail-archives.apache.org/mod_mbox/httpd-dev/201402.mbox/%3c53057121.70...@opensslfoundation.com%3E
Oh my, I must have completely forgotten about [2]. I am sorry, I didn't intend to reopen the same issue again. Like Steve said, the right thing would probably be that OpenSSL actually returns the private key used by the connection. (and apologies Harald, I got confused by the displayed name.)