Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/networking/protocols/layer-7/rpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,18 @@ Mutual TLS (mTLS) is an extension of TLS where both the client and server authen

### Benefits of mTLS

* Encrypts all communication between client and server.
* Authenticates both parties before any application data is exchanged.
* Eliminates the need to transmit credentials such as API keys between trusted services.
* Commonly used for service-to-service communication in microservice architectures.
* Provides strong identity verification in zero-trust environments.
- Encrypts all communication between client and server.
- Authenticates both parties before any application data is exchanged.
- Eliminates the need to transmit credentials such as API keys between trusted services.
- Commonly used for service-to-service communication in microservice architectures.
- Provides strong identity verification in zero-trust environments.

### Common Use Cases

* Communication between microservices.
* Internal APIs within Kubernetes clusters.
* Service mesh implementations such as Istio and Linkerd.
* Highly regulated environments requiring strong authentication and encryption.
- Communication between microservices.
- Internal APIs within Kubernetes clusters.
- Service mesh implementations such as Istio and Linkerd.
- Highly regulated environments requiring strong authentication and encryption.

## Key Comparisons Between RPC and gRPC

Expand Down
6 changes: 2 additions & 4 deletions docs/networking/protocols/layer-7/ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SSH (Secure Shell) is a cryptographic network protocol used to securely access r
- **Public Key**: Shared with the server for authentication.
- **Private Key**: Kept secret by the client for decryption.

<div class="mermaid-container">
<div style={{textAlign: 'center'}}>
```mermaid
sequenceDiagram
participant Client as SSH Client
Expand All @@ -52,7 +52,6 @@ SSH (Secure Shell) is a cryptographic network protocol used to securely access r
Client->>Server: Encrypted Session Established
Server-->>Client: Encrypted Session Established
```

</div>

### Steps in SSH Communication
Expand All @@ -75,7 +74,7 @@ The **Diffie-Hellman Key Exchange (or similar algorithm)** is used to securely a
2. Both sides compute a shared secret key using their private parameters.
3. The resulting shared secret key is used for symmetric encryption.

<div class="mermaid-container">
<div style={{textAlign: 'center'}}>
```mermaid
sequenceDiagram
participant Client as Client
Expand All @@ -87,7 +86,6 @@ The **Diffie-Hellman Key Exchange (or similar algorithm)** is used to securely a
Client->>Client: Computes Shared Key = (B^a mod p)
Server->>Server: Computes Shared Key = (A^b mod p)
```

</div>

Here:
Expand Down
Loading