Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: SSL Implementation under Perl

by etcshadow (Priest)
on Apr 19, 2005 at 20:49 UTC ( #449425=note: print w/replies, xml ) Need Help??


in reply to SSL Implementation under Perl

SSL is implemented at the transport layer. Since it sounds like you're talking about a web server (you mention CGI.pm), this means that it is part of the web server. In fact, it's sort of it's own sub-protocol: http-over-ssl, commonly called https (generally runs on a different port: 443 instead of 80).

Now, I can only guess that you're using Apache as your web server (possibly with mod_perl), since you don't give any further info. If that's the case, you want to look into an apache module called mod_ssl... this is an extension to apache to implement https. You'll need to change your httpd.conf file as well, and, as mentioned above, purchase an SSL certificate.

In short, it's not a perl issue, at all. It's something you've got to configure into your web server.

------------ :Wq Not an editor command: Wq

Replies are listed 'Best First'.
Re^2: SSL Implementation under Perl
by Andre_br (Pilgrim) on Apr 19, 2005 at 22:51 UTC
    Im using my host's shared certificate, wich is ok. I only thought that it would be necessary also changes in the scripts because Im receiving error messages when I try to execute my scripts using the secure path. Bit, as you have said theres nothing on Perl about it, I presume they have the cgi execution misconfigured - have asked them to look it up then. Thanks a lot folks!

      Check your path to the script. I am doing this also and have to use something like this for the form tag action:

      https://secure.server.net/~userid/cgi-bin/myscript.pl
        Hey, thanks for the tip kgraff

        But they told me that, after all, cgi scripts do not work with the shared certificate, that I would have to buy and install my own certificate in order to have SSL-supported cgi.

        You guys know if this may in fact happen?

        Thanks

        Andre_br

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://449425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-05-24 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (147 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!