You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chef Automate supports TLS 1.2 and TLS 1.3 protocols for secure communication. You can configure both protocols and their respective ciphers.
367
+
368
+
##### Supported TLS Versions
369
+
370
+
-**TLSv1.2** (Recommended for compatibility)
371
+
-**TLSv1.3** (Recommended for maximum security)
372
+
373
+
{{< warning >}}
374
+
**Deprecated Protocols**: SSLv2, SSLv3, TLSv1, and TLSv1.1 are deprecated and non-functional. These protocols are not supported by modern OpenSSL versions (1.1.0+) and will not work even if configured. Use only TLSv1.2 and TLSv1.3.
375
+
{{< /warning >}}
376
+
377
+
##### TLS 1.3 Cipher Suites
378
+
379
+
TLS 1.3 uses the `ssl_ciphersuites` directive (separate from TLS 1.2's `ssl_ciphers`). When TLS 1.3 is enabled, you must specify cipher suites.
Chef Automate validates TLS/SSL configuration and provides error messages for common issues:
458
+
459
+
**Common Configuration Errors:**
460
+
461
+
1.**Empty ciphers when TLS 1.2 is enabled:**
462
+
```
463
+
Error: ssl_ciphers cannot be empty when TLSv1.2 is enabled
464
+
```
465
+
466
+
2.**Empty cipher suites when TLS 1.3 is enabled:**
467
+
```
468
+
Error: ssl_ciphersuites cannot be empty when TLSv1.3 is enabled
469
+
```
470
+
471
+
3.**Invalid protocol format:**
472
+
```
473
+
Error: 'TLS1.3' contains invalid protocol versions. Use 'TLSv1.3'
474
+
```
475
+
476
+
4.**Invalid separator in ciphers:**
477
+
```
478
+
Error: ssl_ciphers should not contain spaces. Use colons (:) to separate cipher names
479
+
```
480
+
481
+
5.**Wrong format for TLS 1.3 cipher suites:**
482
+
```
483
+
Error: 'TLS-AES-256-GCM-SHA384' contains invalid characters. Use underscores: TLS_AES_256_GCM_SHA384
484
+
```
485
+
486
+
**Configuration Warnings:**
487
+
488
+
Chef Automate issues warnings for suboptimal configurations:
489
+
490
+
1.**Deprecated protocols configured:**
491
+
```
492
+
WARNING: ssl_protocols 'TLSv1.1 TLSv1.2' contains deprecated and non-functional protocol versions (SSLv2, SSLv3, TLSv1, TLSv1.1). These protocols are not supported by OpenSSL 1.1.0+ and will not work. Use only TLSv1.2 and TLSv1.3.
493
+
```
494
+
495
+
2.**Cipher suites configured without TLS 1.3:**
496
+
```
497
+
WARNING: ssl_ciphersuites is configured, but ssl_protocols does not include TLSv1.3. The ssl_ciphersuites directive will be ignored by NGINX.
498
+
```
499
+
500
+
3.**TLS 1.2 ciphers configured without TLS 1.2:**
501
+
```
502
+
WARNING: ssl_ciphers is configured, but ssl_protocols does not include TLSv1.2. The ssl_ciphers directive will be ignored by NGINX.
503
+
```
504
+
505
+
##### Testing TLS Configuration
506
+
507
+
After applying TLS configuration, verify it's working correctly:
0 commit comments