SSL (Secure Sockets Layer) is a protocol that ensures secure communication over a computer network. It works by encrypting the data transmitted between a web server and a web browser, making it unreadable to anyone who might intercept it. 

When a user accesses a website with SSL enabled, the web server and the browser perform a "handshake" to establish a secure connection. During this process, they agree on encryption methods and exchange encryption keys. Once the secure connection is established, data is transmitted in an encrypted format, ensuring confidentiality and integrity.

SSL also provides authentication, allowing the user to verify the identity of the website they are connecting to. This is done through digital certificates issued by trusted Certificate Authorities. These certificates contain information about the website's owner and are used to verify that the website is legitimate.

Overall, SSL works by encrypting data, establishing a secure connection, and providing authentication to ensure secure communication over the internet.
SSL (Secure Sockets Layer) je bezpečný protokol, který pomáhá chránit data přenášená přes internet šifrováním. Funguje tím, že vytváří privátní, šifrované spojení mezi serverem a klientem. Server ověřuje klienta a klient je ověřen serverem. Jakmile bylo zajištěno bezpečné spojení, veškerá komunikace mezi nimi je šifrována, což brání jakýmkoli zlomyslným třetím stranám v prohlížení výměny informací.