Hi I have one question I mentiond above: Do I need certificate for HTTPS Server?

I know that for SSL connection a server must have its own certificate. But is there any way to make server to create his own certificate and private key on its initialization?

I have client/server application and I know that client will never verify server certificate. I only need secure connection (not trusted). I want to start up server two ways. First on constructor are two parametrs createSrv(string privateKeyFile, string certFile) on second way there is just createSrv().

I read that poco support defaultContext, but if I understandt it right it will just set values to context, which I have in config file or if I have not key and cert tags in it server would not be initialiezed. So is there any way to make server to make it own key and certificate?