> > i've compiled poco-1.2.9-ssl and am using NetSSL in one of my projects. i've followed the example cited at
http://www.appinf.com/poco/wiki/tiki-pagehistory.php?page=NetSSL&preview=9 to configure my openSSL settings as part of my application XML config file.
> >
> > and from what i've read the application should automatically read the openSSL settings, but for some reason i keep getting the following exception:
> >
> > "No PassPhrasehandler known with the name KeyFileHandler"
> >
> > is there something else i need to do in order to get SSLManager to recognize the KeyFileHandler?
>
> Normally, no.
> The KeyFileHandler exports it's class automatically via
>
> POCO_REGISTER_KEYFACTORY(NetSSL_API,KeyFileHandler)
>
> in the cpp file.
> Can you try to set a breakpoint in the PrivateKeyFactoryMgr
> class to see if setFactory is called for keyFileHandler?
>
> br
>
> Peter
>
>
i ran my app (using the XML config.. I removed the hard-coded settings shown in the above code sample) in gdb and set a breakpoint at setFactory() in PrivateKeyFactoryMgr.cpp.
The breakpoint was never hit, so for some reason the KeyFileHandler isn't automatically exporting its class. In addition, I received the same exception as before.