Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 08-14-2007, 11:33 AM openSSL Question
dlaroche22's Avatar
Skilled Talker

Posts: 84
Name: Dustin Laroche
Trades: 0
Has anybody used openSSL before to secure a connection? Will this take the place of me having to purchase a certificate so that I can use SSL? What are the pros and cons?
__________________
Under Construction, But A Work In Progress
Webhosting isn't cheap, sponsors are important

Please login or register to view this content. Registration is FREE
dlaroche22 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-18-2007, 04:52 AM Re: openSSL Question
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
I don't claim to be an expert here, but this is what I think I know based on using cURL and what I end up advising users of my software who are trying to post to a page at an https address.

You don't need an SSL cert on your server to handle an SSL cert on another server. Here, in extremely simplified form, is how SSL works:

1) A site make a special number available to everyone known as it's "public key". With many of these keys comes a certficate authority which effectively says, to varying degrees, "I know this company/person."

2) A browser or PHP application or an other application makes a connection to that webpage using the https method.

3) The request uses the special number from step 1 above to encrypt the webpage or web request.

4) The page that hosted the initial certificate uses a private number that can't be figured out from the public number to decrypt the message.

So, as you can see the whole method only depends on your ability to use the public key to encrypt something being sent to a server. cURL is something that handles that for you as well as the ftp functions and file_get_contents -- depending on what your server has installed.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 08-18-2007, 09:24 AM Re: openSSL Question
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
i can set up SSL on my server and it (i think) works and i can use https but i get the whole thing with IE7 and error msgs etc goin this site oculd be unsafe.
and i would have to pay to get it so that they just do it and know im safe?

So is there any free way to do it?
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-18-2007, 09:28 AM Re: openSSL Question
Super Talker

Posts: 130
Trades: 0
you getting those errors because the initial cert that you set up is an unsigned certificate. That means that you're browser doesn't know if you should trust it or not, because it was signed be the same person who made the site. To get rid of this problem, you could purchase a signed certificate from a well known company. I use Thawte SSL 123 and I haven't had any issues with it. There are many others, Verisign is another, but make sure to see if there included in the major browsers.
__________________
flann

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by flann; 08-20-2007 at 02:40 PM.. Reason: spelling correction have to haven't
flann is offline
Reply With Quote
View Public Profile
 
Old 08-18-2007, 12:27 PM Re: openSSL Question
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
For SSL I use GoDaddy which is much cheaper. You can also look at http://www.cacert.org/ , but they're not part of the default list.

So, you're probably asking what this list is all about. In short, each browser comes with a collection of companies that it "knows" and "trusts" to issue secure certificates. If a certificate is issued by one of these Certificate Authorities (CA), then the page is transmitted using the certificate and the end user doesn't know anything's even going on. If, however, the CA is not in that list, then a popup or warning happens to the user who must then click through to accept the certificate. The ONLY reason you buy a secure cert is so that box doesn't popup - it's one of the few actual confirmed conspiracies out there. There is ZERO added security that you get from paid certificates. Now, there are those out there who will tell you that fake SSL certs can be used to steal data, but AFAIK to use such a cert would require access to the server hosting the cert which means they can do whatever they want, so I don't see any advantage there. Disagree? I don't care. Agree? Then check out http://www.cacert.org/ which is working to break the effectiveness of the conspiracy while maintaining all the advantages.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 08-18-2007, 04:20 PM Re: openSSL Question
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
ok just correct me if im wrong here.. when you buy a cert do they actaully check your safe? and "trusted"??

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-19-2007, 02:07 AM Re: openSSL Question
intrinzic's Avatar
Novice Talker

Posts: 6
Name: Donna Maddox
Trades: 0
If it's just a domain check SSL cert, they basically just try to secure your connection and certify that the url that appears on your browser is the same site you are browsing. They do not check if you are a legitimate company or just a scammer. But they do offer High Assurance SSL certificate that checks if it's a legitimate company.

You can also issue your own cetificate but just like what JeremyMiller says if you are not on the list of Certificate Authorities... the users browsing your site will be notified that the certificate is issued by somebody they do not trust and ask them if they want to continue. Lol.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
intrinzic is offline
Reply With Quote
View Public Profile Visit intrinzic's homepage!
 
Old 08-19-2007, 03:16 AM Re: openSSL Question
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Depending on the CA, they check various aspects of your company depending on the certificate that you pay for. All that really means is 1) you can use their logo that shows how well they know you, 2) you pay more, and 3) the popup irritant isn't exposed to your customers. There's absolutely NO difference in the level of encryption provided and so long as the secure cert comes from ANY default-recognized CA you won't get the popup -- which cert you buy doesn't matter at all in 99.999999999999% of cases. There may be a random moron out there who checks it all and will base their online sales on the certifcate level, but they are, as I said, morons.

Secure certs don't mean ANYTHING WHATSOEVER about security!!!! Let me give an example: If you pay for the best secure cert from Verisign and you either

1) Process payments through your payment processor and don't store any of the credit card information to ensure absolute security of the credit card information; or

2) store everything about a credit card process including the CVV, address, cc #, and everything else

... Guess what!!! You get the exact same level of encryption!! AND at THOUSANDS OF DOLLARS in difference!

I'm NOT bullsh*itting you here - I've literally seen databases which contain peoples' CVV along with credit card and billing address in unencrypted format. The secure cert doesn't prevent them from storing that information at all. They've also had passwords of fewer than 10 characters and all letters stored using an MD5 hash which means only 26^10 possible combinations which a computer can check against in a matter of seconds to minutes to hack! It's absolutely ridiiculous!

That leads me to this very, very important point for people who buy online:


NEVER GIVE YOUR CC # ONLINE -- USE THOSE ONE-TIME CC #'S THAT MOST CREDIT CARD COMPANIES WILL ISSUE.

CYA!!!

For website owners who absolutely don't want a popup (or worse) to stop visitors from coming to their site, BUY THE CHEAPEST CERT AVAILABLE FROM A CA THAT'S INSTALLED IN IE BY DEFAULT!!! You risk absolutely nothing by going cheap here!

The SSL market is a ripoff IN ABSOLUTELY ALL CASES!!! Don't let them steal money from you to promote a racket that ought not to have existed from the very beginning.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 08-19-2007, 08:28 AM Re: openSSL Question
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
i cant afford to pay out for one, i belive i have a shared ssl on the server so i should be able to use it, i think i just have to use it like ip.ipi.pip.ip/~dan/sslfile.php

which is gay
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to openSSL Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37077 seconds with 12 queries