DEV Community

Cover image for Just writing down my thoughts on TLS encryption
jmbharathram
jmbharathram

Posted on

Just writing down my thoughts on TLS encryption

I have been slowly learning various Kubernetes topics, just coz it has become such a fundamental thing in this cloud world.

One of the topics that I came across was about how TLS encryption is used in Kubernetes to secure communication between clients and servers.

I've never tried to understand how encryption itself works & how data security is guaranteed while it is transferred back and forth between a client service and a server service.

I came across a few articles that helped me to understand these TLS concepts to an extent.

So what did I learn? Quick summary.

  • There are two types of TLS encryption - Symmetric encryption and Asymmetric encryption.
  • Symmetric encryption means that you use the same key to encrypt and decrypt your data both on the server side and the client side. And if you're not careful, you might end up exposing your key to hackers. You know, they are always trying to get you.
  • In asymmetric encryption, you have a public/private key pair. Only the Public key is shared with your clients. Clients encrypt their data using your public key before it is transferred to the server. On the server side, the data is decrypted using the private key that you safely maintain somewhere.

I use the following articles to understand more about symmetric and asymmetric encryption.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

AWS GenAI Live!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️