Skip to content

Commit bc71454

Browse files
TME-153 - new reference architecture diagram about Cloudflare app svc… (#19789)
* TME-153 - new reference architecture diagram about Cloudflare app svc and FIPS 140-3 compliance * Apply suggestions from code review Co-authored-by: marciocloudflare <[email protected]> --------- Co-authored-by: marciocloudflare <[email protected]>
1 parent 03f8bc7 commit bc71454

File tree

1 file changed

+103
-0
lines changed
  • src/content/docs/reference-architecture/diagrams/security

1 file changed

+103
-0
lines changed
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
---
2+
title: FIPS 140 level 3 compliance with Cloudflare Application Services
3+
pcx_content_type: reference-architecture-diagram
4+
sidebar:
5+
order: 1
6+
label: FIPS 140 level 3 compliance with Cloudflare Application Services
7+
updated: 2025-02-06
8+
---
9+
10+
import { Tabs, Steps, TabItem, DirectoryListing } from "~/components";
11+
12+
## Introduction
13+
14+
This document outlines a reference architecture for achieving Federal Information Processing Standard (FIPS) 140 Level 3 compliance using Cloudflare's Application Services. FIPS 140 is a U.S. government standard that specifies security requirements for cryptographic modules protecting sensitive information in computer and telecommunication systems.
15+
16+
FIPS 140 defines four security levels, with Level 3 being the most stringent for non-military applications. It mandates physical tamper-resistance to prevent unauthorized access to cryptographic keys and critical security parameters. This includes measures like robust enclosures, tamper-evident seals, and identity-based authentication.
17+
18+
Achieving FIPS 140 compliance, particularly Level 3, is crucial for organizations handling sensitive data, especially those in regulated industries like:
19+
20+
- **Government**: Federal agencies and contractors processing sensitive government information.
21+
- **Healthcare**: Organizations handling protected health information (PHI) under HIPAA.
22+
- **Financial** Services: Institutions dealing with financial transactions and customer data.
23+
- **Defense**: Contractors working on defense projects requiring stringent security measures.
24+
25+
FIPS 140 compliance demonstrates a strong commitment to data security, builds trust with customers and partners, and ensures adherence to regulatory requirements. This reference architecture provides a comprehensive guide to leveraging Cloudflare's robust security features to meet these stringent standards.
26+
27+
## FIPS 140-3 levels
28+
29+
Organizations use the FIPS 140-3 standard to ensure that the hardware they select meets specific security requirements. The FIPS certification standard defines four increasing, qualitative levels of security.
30+
31+
<Tabs syncKey="dashPlusAPI"> <TabItem label="Level 1">
32+
33+
Requires production-grade equipment and externally tested algorithms.
34+
35+
</TabItem> <TabItem label="Level 2">
36+
37+
Adds requirements for physical tamper-evidence and role-based authentication.
38+
39+
</TabItem> <TabItem label="Level 3">
40+
41+
Adds requirements for physical tamper-resistance and identity-based authentication. There must also be physical or logical separation between the interfaces by which critical security parameters enter and leave the module. Private keys can only enter or leave in encrypted form. Level 3 also requires the module to detect and react to out-of-range voltage or temperature (environmental failure protection, or EFP), or alternatively undergo environmental failure testing (EFT).
42+
43+
</TabItem> <TabItem label="Level 4">
44+
45+
This level makes the physical security requirements more stringent, requiring the ability to be tamper-active, erasing the contents of the device if it detects various forms of environmental attack. EFP and protection against fault injection is required as well as multi-factor authentication.
46+
47+
</TabItem> </Tabs>
48+
49+
## Key components
50+
51+
- **Cloudflare Keyless SSL**: A service that allows organizations to use Cloudflare's SSL/TLS protection while keeping their private keys securely stored in their own infrastructure, ensuring private keys remain under their control and never leave their premises, while still benefiting from Cloudflare's DDoS protection and performance optimization features.
52+
- **Cloudflare Tunnel**: Provides a secure, encrypted connection between Cloudflare's global network and the private infrastructure hosting CloudHSM, protecting data in transit.
53+
- **Hardware Security module**: A FIPS 140-2 Level 3 compliant HSM that securely manages cryptographic keys. Cloudflare supports a handful of HSMs, including AWS CloudHSM, Azure Key Vault, and Google Cloud KMS.
54+
55+
## Architecture overview
56+
57+
The architecture diagram below illustrates the key components and data flow for achieving FIPS 140 Level 3 compliance with Cloudflare Application Services and all its required components.
58+
59+
<div style={{ display: 'flex', justifyContent: 'center', width: '100%' }}>
60+
```mermaid
61+
flowchart TB
62+
User((User/Client)) --> |1.SNI = keyless.example.com| CF[Cloudflare Edge Network]
63+
64+
subgraph CF [Cloudflare Edge]
65+
KeylessSSL[Keyless SSL Service]
66+
end
67+
68+
subgraph Private[Private Infrastructure]
69+
Tunnel[Cloudflare Tunnel]
70+
HSM[Hardware Security Module]
71+
KeylessModule[Keyless Module]
72+
end
73+
74+
Tunnel -->|2.Establish tunnel| KeylessSSL
75+
KeylessSSL -->|3.Keyless operation required| Tunnel
76+
Tunnel -->|4.Forward to HSM| KeylessModule
77+
KeylessModule -->|5.Key Operations via PKCS11| HSM
78+
79+
classDef cloudflare fill:#F6821F,stroke:#fff,stroke-width:2px,color:#fff
80+
classDef aws fill:#232F3E,stroke:#fff,stroke-width:2px,color:#fff
81+
classDef default fill:#fff,stroke:#000,stroke-width:2px, color:#000
82+
83+
class CF,KeylessSSL,Tunnel,KeylessModule cloudflare
84+
class HSM aws
85+
class User default
86+
87+
```
88+
</div>
89+
90+
<Steps>
91+
1. **User/Client**: Initiates an HTTPS request to a domain protected by Cloudflare. The Server Name Indication (SNI) extension in the request specifies the domain name like, for example, `keyless.example.com`. That domain is mapped to a certificate declared as [keyless](/ssl/keyless-ssl/), which means that only the public is being imported to Cloudflare, but a keyless listener is also declared, for subsequent key operations.
92+
2. **Cloudflare secure tunnel establishment**: The Cloudflare [tunnel](/cloudflare-one/connections/connect-networks/) component is used to establish a secure and reliable connection with Cloudflare's global network. Only outgoing traffic is leaving the perimeter and the traffic can be narrowed down by a firewall. That secure connectivity will be used as a secured overlay for the key operations.
93+
3. **Key Operations**: Cloudflare [SSL](/ssl/)detects that a keyless operation is necessary and then sends all the key operations towards the keyless module installed on the private infrastructure. All the traffic is flowing through the previously established secured tunnel.
94+
4. **Keyless Module**: The [keyless module](/ssl/keyless-ssl/configuration/cloudflare-tunnel/#install) is responsible for forwarding the key operations to the Hardware Security Module (HSM) for cryptographic operations. The keyless module is a software component that acts as a proxy between Cloudflare and the HSM, ensuring that the private key never leaves the HSM.
95+
5. **Key operations via PKCS11**: The HSM performs cryptographic operations using the private key stored securely within the HSM. The HSM is a tamper-resistant device that securely manages cryptographic keys and performs cryptographic operations, ensuring the highest level of security for sensitive data.
96+
</Steps>
97+
98+
## Further reading
99+
- [Cloudflare Keyless SSL](/ssl/keyless-ssl)
100+
- [Cloudflare Tunnel](/cloudflare-one/connections/connect-networks/)
101+
- [Keyless SSL with secured Tunnel](/ssl/keyless-ssl/configuration/cloudflare-tunnel/)
102+
- Supported HSMs:
103+
<DirectoryListing folder="ssl/keyless-ssl/hardware-security-modules" descriptions />

0 commit comments

Comments
 (0)