SSL Help Please!

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

SSL Help Please!

Post by paqman »

I've been looking all over the forums and google for some time now and I can't figure out what I need to know about SSL Certificates. I understand that the server is set to automatically access a port when a visitor is accessing the https:// of my site and that it automatically encrypts and decrypts the sent information. My question is: do I need to modify my code at all? Will all transmitted data be safe, or do I have to add specific encryption functions? For example - to submit information to a database. thanks!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: SSL Help Please!

Post by Christopher »

If you server is already configured with SSL then all you need to do is specify "https://" in the URLs in you HTML. Have you tried it? Does your browser show the page is secure when you do?
(#10850)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: SSL Help Please!

Post by Kieran Huggins »

SSL is handled by apache - you shouldn't need to modify your code at all. As for certificates, I have no idea how to use them. They need to be installed on your webserver per domain, I think I followed a tutorial once somewhere to generate one.
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

Re: SSL Help Please!

Post by paqman »

Yes, the locked image appears. I just wanted to know if I had to make any changes to my code - apparently not! Thanks!
User avatar
hannnndy
Forum Contributor
Posts: 131
Joined: Sat Jan 12, 2008 2:09 am
Location: Iran>Tehran
Contact:

Re: SSL Help Please!

Post by hannnndy »

using only https:// uses the ssl

i meant we should not use any ssl code ?for example openSLL functions in order to process the publick and private keys?
Post Reply