PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I was always under the assumption making a URL https instead of http made it a secure connection. Is there more to it than that? Do you have to register https also?
The reason I ask is I had a site using credit card info. Obviously this has to be made secure, so I added https as the first part of url (i.e. http://example.com became https://example.com) and I get page not found. Mozilla gives error code -12263
Do i need to register the https also or when you buy a domain name http or https should work?
Thanks for any insight offered
Last edited by kryles on Mon Apr 28, 2008 9:33 am, edited 1 time in total.
Well I googled the error code, and it seems to be a hosting problem (some sort of certificate). I emailed hosting service. Will post back for any future reference when this is resolved
https:// needs to be set up properly before you can use it. The web server needs to be able to talk on port 443 (the default SSL port). A certificate also needs to be set up on the server so the client/server connection can be secure.
If your host doesn't already have https:// running for your account, my guess will be that it will cost you a bit more to have it enabled.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
https requires a Secure Socket Layer (SSL) Certfiicate. You can either purchase them (verisign.com, digicert.com, etc), some hosts provide them at extra costs, or you can write your own. I haven't ever wrote one yet but from what I hear they are not too difficult. I do not know too much about them personally but I do know that it encrypts data sent over the network so that the clients information is not transfered page to page in plain text that can be hi-jacked by someone. This does not secure your scripts as you must make sure your scripts are properly coded to prevent malicious attacks. The host you have must also have SSL support enabled.