For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > May 2004 > CGI and SSL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CGI and SSL
Octavian Rasnita

2004-05-22, 11:31 am

Hi all,

I want to configure my web server to use HTTPS for accessing some CGI files.
What do I need to do in order to do this?

Do I need to print a special header when printing something into the
browser?

Also, does anyone know how could I create the keys? Can I use Open SSL for
this, or there are separate programs?

Thank you.

teddy


Teddy

Zentara

2004-05-22, 11:31 am

On Thu, 15 Apr 2004 10:07:53 +0300, orasnita@fcc.ro (Octavian Rasnita)
wrote:

>Hi all,
>
>I want to configure my web server to use HTTPS for accessing some CGI files.
>What do I need to do in order to do this?


You are kind of vague in asking this. This part is an apache questions.
You need to have an ssl enabled apache, or have mod_ssl installed.
Then you need to have a certificate for your server, but this is usually
done when you install apache or start it for the first time.

Then you need to edit your httpd.conf file, to enable port 443.
443 is for https.
80 is for http.

What platform are you running this on?


>Do I need to print a special header when printing something into the
>browser?


Just use https:// instead of http://

>Also, does anyone know how could I create the keys? Can I use Open SSL for
>this, or there are separate programs?


You need to read the docs for apache for the platform you are running it
on. Most all of them come with a set of "dummy certificates" for you to
test with. On production systems, you are supposed to buy one from a
third party like Verisign or Thawte.

You can make "self-certified certificates", and it is done with openssl.
Is that your question?


--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com