[email protected] wrote:
> I am building an application based on the OverbyteIcsSslWebServer. I
> can build and run the demo app just fine, but when I try to connect
> to my web server, I get an error:
> 
> 20:00:53:579 SSLWebserver started
> 20:01:05:806 007C9810 Do_FD_ACCEPT 484
> 20:01:05:806 0078C5C0 Dup accepting accepted socket = 524
> 20:01:05:806 0078C5C0 DupConnected
> 20:01:05:806 0078C5C0 AcceptSslHandshake 524
> 20:01:05:810 error:0906A068:PEM routines:PEM_do_header:bad password
> read error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib
> 20:01:05:810 0078C5C0 Fatal error SSL handshake 524
> ESslContextException: Can't load private key file "c:\01key.pem"
> 
> This 01key.pem is the same one that the demo application uses. Can
> anyone help me figure out why a different app can't read it? I'm
> tearing my hair out over  this, and falling behind on a deadline.

I guess property TSslContext.SslPassPhrase is not assigned / empty.

-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to