hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to implement SSL for only 1 script?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to implement SSL for only 1 script?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-25-2000, 02:00 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Hi everyone,

ok, I need some advice on how to have only one script run using ssl. I have a client who has a full e-commerce store and he would like the order form (which is a perl script) to be a secure page. I have being playing around with it for hours and I'm not too sure how to implement this.

Any ideas or suggestions would be greatly appreciated.

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 10-25-2000, 03:01 AM
Travis Travis is offline
Web Hosting Guru
 
Join Date: Oct 2000
Posts: 337
There shouldn't be anything special - the script that's to be posted to with SSL would be in a content directory accessible by the SSL server. You still need an SSL web server process running to serve secure pages/scripts, even if it's just one.

Or did I misunderstand the question?


Reply With Quote
  #3  
Old 10-25-2000, 05:11 AM
kunal kunal is offline
Web Hosting Master
 
Join Date: Aug 2000
Posts: 2,750
I think, you would need to get hold of the modules for SSL from the respective site, which I think you have.

Then you would need to hack the Perl Script so it can authenticate with a SSL server.


Thats it.

__________________
The Php Support Desk
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...

Reply With Quote
Sponsored Links
  #4  
Old 10-25-2000, 07:02 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
Travis, I have everything set up the way you mentioned but for some reason when I call the script it doesn't use ssl. Is there a specific way to call a script to assure that it is executed using ssl? I am using the https://domain.com/cgi-bin/script.cgi

Reply With Quote
  #5  
Old 10-25-2000, 07:38 AM
BC BC is offline
Web Hosting Master
 
Join Date: Apr 2000
Location: 80,000 feet under the sur
Posts: 2,736
Tab, has your server been properly enabled for https connections and the certificate installed on the server? Just calling to the secure script like <a href="https://domain.com/script">Script</a> should be fine... That's the only thing I can think of.

__________________
My 2 Cents.... (or is that 2.2 cents inc. GST...?)

Have a think about this : Programming is like sex. Make a single little mistake, and you'll be supporting it for the rest of your life.

Reply With Quote
  #6  
Old 10-25-2000, 07:52 AM
webfors webfors is offline
Web Hosting Master
 
Join Date: May 2000
Location: Montreal, Quebec, Canada
Posts: 917
yep, it's installed correctly. I still don't have my own certificate yet (which I will be getting shortly, BTW where's the best place to get one?)

I guess what's happening is that when I call the script like you mentioned above it attempts to load the script but because the script is using images from another directory it refuses to execute the script correctly. Keep getting the message "this page has non-secure items. do you want to display these items?" and whether I click yes or no it still won't load the page.

I think I have to reorgranize all the files (gifs, etc..) to a specific folder that is ssl enabled and not just the script itself. Does this make sense?

Reply With Quote
  #7  
Old 10-25-2000, 08:17 AM
BC BC is offline
Web Hosting Master
 
Join Date: Apr 2000
Location: 80,000 feet under the sur
Posts: 2,736
It does make sense, and I do think it's highly advisable to organise all the GIFs and all the other files you need into the SSL directory so that you avoid the non-secure warning. From a shopper's point of view it might unnecessarily worry them and cause them to leave.

I have a suspicion that you might need a test certificate from Verisign or Thawte to complete your testing; otherwise if the re-organisation of files fail, then try using a test cert (I think Thawte is the one offering test certs, but I can't be sure - check both) and see what happens.

And do a search for certs - you'll find either of the two are recommended and there's a third as well somewhere around.

__________________
My 2 Cents.... (or is that 2.2 cents inc. GST...?)

Have a think about this : Programming is like sex. Make a single little mistake, and you'll be supporting it for the rest of your life.

Reply With Quote
  #8  
Old 10-26-2000, 12:19 AM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
Best? I dunno, but there's a cheaper one at: https://www.equifaxsecure.com/ $79

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

Reply With Quote
  #9  
Old 10-26-2000, 01:17 AM
Félix C.Courtemanche Félix C.Courtemanche is offline
Web Hosting Master
 
Join Date: May 2000
Posts: 587
yep, equifax is the cheapest and as good as the others Also, you can t4est your SSL without a certificate bought from somewhere... you will only get a warning but it'll work.

The easiest way to knwo if its working is to check if there is that litle lock in your browser. The ardest way is to check if the connection for the http isn't on the port 80... even harder involve sniffing your connection to see if it is crypted.

enjoy

__________________
F&eacute;lix C.Courtemanche &middot; webmaster@can-host.com
Can-Host Networks &middot; http://www.can-host.com
web&laquo;cp Control Panel &middot; http://webcp.can-host.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Pingdom Talks Top Web Hosting Cities and Countries Web Hosting News 2013-03-27 18:49:54
Whistleblower Site Cryptome Hacked, Infects PCs with Drive-By Exploits Web Hosting News 2012-02-14 14:48:24
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?