Overview
Features
Download
Documentation
Community
Add-Ons & Services

Do I need certificate for HTTPS Server

Please post support and help requests here.

Do I need certificate for HTTPS Server

Postby Hellbard » 10 Aug 2007, 06:45

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?

Again sorry for my english :o)
Thanks for your response
Hellbard
 
Posts: 12
Joined: 16 Mar 2007, 11:21

Re: Do I need certificate for HTTPS Server

Postby peter » 10 Aug 2007, 12:46

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

Yes :-)
NetSSL is basically a wrapper around OpenSSL. As far as I know there is no way that
openssl automagically creates a server certificate for you.

The defaultContext only-initializes itself from a config file (which must contain
entries for the certificate plus a way to load the private key file).

br
peter

peter
 
Posts: 67
Joined: 11 Jul 2006, 16:26
Location: Austria


Return to Support

Who is online

Users browsing this forum: killerbot and 3 guests