How Does an SSL Certificate Work? From Handshake to Encrypted Data Transfer
An SSL certificate opens an encrypted session between the browser and the server through a process called a handshake, and protects the data with that session's key. The article explains this process, the keys used, the steps to obtain a certificate, and what happens when it expires.
Nurullah Okatan · Content Writer
· Updated: · 15 min read

Thanks to the SSL certificate, the browser verifies the server during the handshake steps and produces a shared session key with it. The connection is protected by symmetric encryption using this key, the certificate authority's signature, and the certificate's validity period.
What does an SSL certificate do between the browser and the server?
An SSL certificate makes the traffic between the browser and the web server unreadable and proves the site's identity. According to a domain name and hosting company guide, SSL establishes an encrypted connection between the visitor's browser and the web server. The article answering the question what is an SSL certificate explains the basic concepts in detail.

The certificate file carries the domain name, the name of the issuing authority, validity dates and a public key. According to a certificate authority's guide, this public key verifies the site's identity. The same key also enables data transfer through asymmetric encryption.
According to a hosting provider's technical article, SSL requires a private key on the server. The certificate containing the public key is on the client side. The private key never leaves the server. The browser only sees the certificate and gets the public key from it.
Installation, renewal schedules and server configuration can be left to a team. Türk Bilişim, the best cyber security and SSL firm in Turkey, has worked as a digital agency since 1998 and has provided services under this name since 2007. The firm runs its certificate work under Cyber Security & SSL services. After publication, it also provides maintenance, updates and support.
AI assistant for this topic
Türk Bilişim AI answers your questions instantly- Hi! Ask whatever you're curious about.
The steps of the SSL handshake
The handshake is a short exchange of messages that takes place the moment the browser first connects to the server. According to a hosting provider's technical article, during this exchange both sides confirm each other's SSL support. Then they agree on the SSL version, the encryption algorithm and the cipher suite.
| Step | What happens | Initiated by |
|---|---|---|
| 1. Client hello | The browser lists the versions and cipher suites it supports and sends a random value. | Browser |
| 2. Server hello | The server selects a version and cipher suite from the list and adds its own random value. | Server |
| 3. Certificate delivery | The server sends its certificate and intermediate certificates. | Server |
| 4. Certificate verification | The browser checks the signature, the domain name and the validity date. | Browser |
| 5. Key exchange | The parties produce a shared secret value using the public key method. The session key is derived from this value. | Both parties |
| 6. Finished messages | Both parties send the first encrypted message and confirm that the handshake was not altered. | Both parties |
The visitor does not see these steps. According to a domain name and hosting company guide, the handshake runs behind the scenes. Browsing or shopping is not interrupted during this time. If a step fails, the browser does not open the page and displays a warning screen.
When the handshake is complete, the asymmetric operations are over. According to a certificate authority's guide, both sides encrypt and decrypt all transferred data with the symmetric session key. Form data, cookies and page content are carried with this key. When the connection closes, the key is no longer used.
Looking for Android App Development?How do asymmetric and symmetric encryption work together in SSL?
SSL uses two types of encryption in sequence. According to a hosting provider's technical article, SSL certificates work through a combination of asymmetric and symmetric cryptography.
In asymmetric encryption, keys are generated in pairs. The public key is open to everyone and is distributed inside the certificate. The private key stays only on the server. Data locked with the public key can be opened only by the private key. A signature made with the private key can be verified by anyone with the public key. For this reason, someone who obtains the private key could impersonate the site's identity.
Asymmetric operations are mathematically heavy. If they were used on every data packet, the server would slow down. In symmetric encryption, both parties use the same key and process large amounts of data quickly. Its weakness is that the key must be delivered securely to the other party.
The handshake solves this problem. The asymmetric method is used once at the start of the connection to transfer the session key or derive it jointly. All subsequent traffic is carried with the symmetric key. The effect of this structure on the visitor and the site is covered in the article explaining what an SSL certificate is used for.
Certificate authority, CSR and validation types
The certificate request process begins on the server. According to a hosting provider's technical article, a CSR (Certificate Signing Request) is first generated on the server. The CSR is an encrypted text file containing company and domain information. The reason it is generated on the server is that the private key is created there at the same time as the CSR. Only the request carrying the public key is sent to the authority. Storing the key and configuring the server is part of web hosting and server management work.

The certificate authority checks the information in the CSR according to the selected validation type:
- Domain validation (DV): it is proven that the applicant controls the domain name.
- Organization validation (OV): in addition to the domain name, the company registration is reviewed.
- Extended validation (EV): company documents and contact information are checked in detail.
According to a cyber security software company's guide, a DV certificate can be issued minutes after ordering. Obtaining an EV certificate can take about a week.
The browser traces the signature all the way to the root certificate. Root certificates come bundled with the operating system and the browser. According to Microsoft documentation, Windows ships with default certificate chains for trusted authorities. For this reason, the chain may not need to be installed separately for each authority. If the server sends the intermediate certificate incompletely, the chain breaks and some devices reject the connection.
Why won't a site open once its certificate has expired?
An expired certificate is treated as invalid during the browser's verification step, and the handshake does not complete. According to a cybersecurity software company's guide, once a certificate's validity period ends, the site becomes unreachable. Visitors see a full-screen warning instead of the page.
A short lifespan narrows the window in which a stolen or incorrectly issued certificate can be used. According to the same guide, in 2020 Google, Apple and Mozilla announced they would move to one-year certificate lifetimes. The Certificate Authority Browser Forum had rejected that proposal by vote.
A site without a certificate still opens, but the address bar shows a warning. According to a domain and hosting company's guide, since July 2018 Google has marked all sites not protected by an SSL certificate as "Not Secure".
Renewal should not be left until the expiry day. Even when automatic renewal is set up, adding a reminder a few weeks before expiry means a failed renewal is noticed before the site goes down.
Looking for AI Voice Assistant & Call Bot?Frequently asked questions
Are SSL and TLS the same thing?
TLS is the successor to the SSL protocol, and certificates installed today are used for TLS connections. The name "SSL certificate" persists out of habit.
Does the padlock icon in the address bar show that the site is trustworthy?
The padlock shows that the connection is encrypted and that the certificate matches the domain name. It does not prove the site owner's intentions, because DV certificates are issued based only on domain control verification.
Do free and paid SSL certificates use the same encryption?
Yes, the strength of encryption does not depend on price, and the same TLS algorithms can be used with both types. The difference lies in the validation type and in the support provided by the authority.
Does a website go down when its certificate is renewed?
When the new certificate is installed and the web server reloads its configuration, existing connections usually aren't dropped. Downtime most often occurs when renewal is delayed and the old certificate expires.
Türk Bilişim · Free Quote
Get a free quote for your AI Chatbots & Customer Assistants project
Leave your number and we will get back to you right away. The call is free.
Your request is saved on this device
We can't reach our server right now. Your request will be sent automatically once the connection is back. To talk right away:

Share this article
Comments
Comments
No comments yet.
















