Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RHEL Version Cheat Sheet for Certificates

Quick reference for certificate differences across RHEL versions.


Version Overview

RHELReleasedOpenSSLTLS SupportCrypto-PoliciesKey Feature
720141.0.2k-261.0/1.1/1.2❌ NoManual config
820191.1.1k-141.2/1.3NEW!System-wide policies
9May 20223.5.5-21.2/1.3✅ EnhancedOpenSSL 3.x, strict
10May 20253.5.5-21.3 pref✅ EnhancedPQC prep, modern

Quick Detection

# Check RHEL version
cat /etc/redhat-release

# Check OpenSSL (indirect version check)
openssl version
# 1.0.2k = RHEL 7
# 1.1.1k = RHEL 8
# 3.5.5  = RHEL 9 or 10

# Check crypto-policies (RHEL 8+ only)
update-crypto-policies --show 2>/dev/null || echo "RHEL 7 (no crypto-policies)"

TLS Configuration by Version

RHEL 7

# Manual configuration required everywhere
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite HIGH:!aNULL:!MD5:!3DES

RHEL 8/9/10

# crypto-policies handle it automatically!
# No SSLProtocol or SSLCipherSuite needed
# Just include certificate paths

Common Commands by Version

TaskRHEL 7RHEL 8/9/10
Generate Keyopenssl genrsa -out key 2048openssl genpkey -algorithm RSA -out key
Check PolicyN/Aupdate-crypto-policies --show
TLS ConfigManual per serviceAutomatic via crypto-policies
certmongerBasicEnhanced (IPA/tracking workflows)

Troubleshooting by Version

RHEL 7

  • Check for TLS 1.0/1.1 issues
  • Manual cipher configurations
  • No crypto-policies

RHEL 8

  • Check crypto-policy first!
  • TLS 1.0/1.1 disabled in DEFAULT
  • LEGACY policy for compatibility

RHEL 9

  • OpenSSL 3.x provider issues
  • SHA-1 BLOCKED
  • Use -provider legacy for old algorithms

RHEL 10

  • Same as RHEL 9
  • Even stricter defaults
  • Check minor version docs

Migration Impact

MigrationCertificate ImpactKey Changes
7→8Moderate-Highcrypto-policies, TLS 1.0/1.1 blocked
8→9HighOpenSSL 3.x, SHA-1 blocked, stricter
9→10LowSame OpenSSL, incremental hardening

Quick Fixes by Version

“no shared cipher” Error

  • RHEL 7: Update cipher config manually
  • RHEL 8/9/10: sudo update-crypto-policies --set LEGACY (temp!)

SHA-1 Certificate

  • RHEL 7/8: Works (deprecated)
  • RHEL 9/10: BLOCKED - must reissue

TLS 1.0 Client

  • RHEL 7: Works by default
  • RHEL 8/9/10: Blocked in DEFAULT, use LEGACY (temp!)

Full Details: See Chapters 9-12