HTTPS is the secure version of HTTP that runs on TCP port 443 and uses public key cryptography and digital certificates to encrypt web traffic and verify server identity. It protects users from interception and phishing attacks even on sites that don't handle sensitive data.
HTTPS
HTTPS is the same thing except that it's secure. HTTPS stands for HTTP Secure, or HTTP over SSL. Originally it was HTTP over SSL, although we really don't use SSL anymore, so the name has kind of stuck around, or we've transitioned now to using more HTTP Secure. It uses TCP port 443, so the port is a little different, and it uses something called certificates to help encrypt the data as it's transferring back and forth.
As we see, there's a lot of trend moving away from HTTP and more towards HTTPS. But why is that the case? There's a lot of information out there, and besides, if I have a public website, why do I necessarily need it secure?
Well, the obvious answer is for things like credit cards and bank accounts. If I'm trying to access my bank account and there's somebody in between here that sees that I'm trying to access my bank account and then sends me to their site instead and intercepts that, and now I'm interacting with them, then it seems logical that I don't want that information to go to them.
But what happens when it's a site where I don't have sensitive information? Why do I care if other people see that or not? Well, the same thing can happen. Even if I'm going to something like example.com, which is just an example site and there's nothing really sensitive about it, or maybe it's a wiki site and there's nothing sensitive in there, or you name it, whatever site that you're going to where the data is not sensitive and I don't really care, this can still be intercepted. Somebody can still present it as if it's the site you're trying to get to and still put in there forms to gather information. The user that's on this computer right here may be trusting the site and may not realize that they're being sent to another site. I'm sitting here navigating this other site, and it asks me for some sort of sensitive information, and I trust this site, so I put it in there, and now somebody else is getting that sensitive information. So even though it's not sensitive information, it doesn't stop a phisher from being able to gather information from unsuspecting users if you're not securing that web traffic.
So then how does it secure this? Well, it's actually pretty awesome technology, pretty amazing. You have both public and private certificates. A private certificate is something that I hold on to and I don't let anybody else see or have. A public certificate I can give to anybody out there. And what I can do is I can encrypt with one of these and then it can be decrypted with the other.
So for instance, if I want to verify who I am, I've got this private certificate that no one can see, and I can encrypt some sort of data and send it to you. And if you have the public certificate and you decrypt it, you know that it came from the other private key, you know that it was encoded by the person who has that private key.
Or let's say I want to send you an encoded message. If I have your public key and I use your public key to encrypt something and send it to you, then only you can decrypt it, and so you can get the message but no one else can.
So these public private keys can be used to send traffic so no one else can read it, and it also can be used to verify some sort of authenticity, that it's coming from the correct location.
Of course, if I just claim, well, this is my private certificate and you have my public certificate, that's called self-signed. If you are just claiming that, but there's no proof of it, it's a self-signed certificate. And so if I go to a web page that has a self-signed certificate, then what happens is there's a little error that comes up on your screen and says this site isn't secure. So even though the traffic is actually getting encrypted as it's going back and forth, the other person on the other side hasn't proven who they are.
To prove who they are, we have something called a certificate authority. You can set your web pages up so that way when traffic gets to your web server, this user can actually check with a certificate authority and verify that you are in fact who you say you are. So there's a level of security that's involved with that. And to get these certificates and work with the certificate authorities, there's a level of proof that you have to go through to say that you in fact own a certain domain. It's all based off of the domain name.
So that is how certificates work. That's just a real brief overview, but it's pretty cool stuff. And once again, HTTPS uses these different certificates as a level of encryption.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →