Re: Certificate problem in Borland C++ Builder - WeOnlyDo Discussion board

Re: Certificate problem in Borland C++ Builder (General questions)

by Paul Draper, Monday, October 03, 2005, 10:58 (6783 days ago) @ wodSupport

Hi,

I have investigated further, I've managed to load a certificate (pem format) and assign it to the Server.

[code]
Certificate1->Load((WideString) Signed Certificate.pem );
Certificate1->LoadKey((WideString) Signed Certificate.pem );

wodWebServerCom1->_set_Certificate((IDispatch*)Certificate1);
[/code]

This was the only way I was able to get the code to compile!

However I still have a problem, when I call Start() the Server is not Activated and I get an error:

14007 - The requested lookup key was not found in any active activation context.

Any ideas?

I have a small test harness that I can zip up for you if that would help.

Regards
Paul


Complete thread: