HTTPS
HTTPS is HTTP encrypted with the SSL/TLS protocol to ensure the secure transfer of data over a network. Learn how HTTPS works, what role certificates play, how it differs from HTTP, and what it does and does not protect.
What is HTTPS?
HTTPS (Hypertext Transfer Protocol Secure) is the secure version of HTTP, the protocol browsers and web servers use to exchange pages and data. HTTPS wraps HTTP inside an encrypted connection using Transport Layer Security (TLS), the successor to SSL. It protects the confidentiality and integrity of traffic and lets the browser verify that it is talking to the real website.
HTTPS is the default for modern websites, and browsers mark plain HTTP pages as not secure.
How does HTTPS work?
When a browser connects to an HTTPS site, usually on port 443:
- The server presents a TLS certificate issued by a trusted certificate authority (CA), which binds the site's domain name to a public key.
- The browser checks that the certificate is valid, unexpired, and issued for that domain.
- The browser and server perform a TLS handshake, using public key cryptography to agree on shared session keys.
- All HTTP requests and responses are then encrypted with those session keys.
If the certificate is invalid or does not match the domain, the browser shows a warning.
HTTPS vs. HTTP
HTTP sends data in plaintext, so anyone on the network path can read or change it. HTTPS encrypts it and authenticates the server. The content and structure of web pages are the same; only the transport is protected.
Why does HTTPS matter?
HTTPS protects passwords, session cookies, and personal data from interception, especially on shared networks. It does not prove a site is trustworthy, though: phishing sites can use valid certificates too. Users still need to check the domain name, and organizations still need to secure the servers and applications behind HTTPS.
Frequently asked questions
What is HTTPS?
HTTPS is HTTP encrypted with the SSL/TLS protocol to ensure the secure transfer of data over a network between a browser and a web server.
Does HTTPS mean a website is safe?
Not necessarily. HTTPS means the connection is encrypted and the certificate matches the domain. A malicious site can still use HTTPS, so check the domain carefully.
What is the difference between SSL and TLS?
TLS is the modern successor to SSL. SSL versions are obsolete and insecure, but the name "SSL" is still often used informally for TLS certificates.
Sign in to the right sites with the right credentials
Surface vault credentials in the browser as you browse and work online.
Related terms
Hypertext Transfer Protocol (HTTP)
Hypertext Transfer Protocol (HTTP) is a protocol that lets users request hypertext documents from a server, and lets the server answer those requests.
Read now →Public key encryption
Public key encryption uses a pair of cryptographic keys, a public key and a private key: either the key used to encrypt the data is public and the key used to decrypt it is private, or the reverse.
Read now →Cookie
A cookie is a small piece of data that a web server may leave on a user's web browser and retrieve during a future browsing session to identify the user.
Read now →