VMware ESXi
TMA-VMWARE-4.11
Host must use strict x509 verification for TLS-enabled remote logging endpoints
Deskripsi
When employing remote logging with TLS-enabled endpoints, it is essential to ensure the utmost integrity and authenticity of the certificates in use. The "x509-strict" option provides a higher level of security by performing additional validity checks on CA root certificates during the verification process. The audit reads Syslog.global.certificate.strictX509Compliance with esxcli and requires true (1). Runs in the ESXi Shell (busybox sh) as root.
Cara pemeriksaan
Metode audit: Perintah shell
out=$(esxcli system settings advanced list -o /Syslog/global/certificate/strictX509Compliance 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk '$1=="Int" && $2=="Value:" {print $3; exit}')
case "$v" in ''|*[!0-9-]*) echo '/Syslog/global/certificate/strictX509Compliance: no integer value'; exit 1 ;; esac
if [ "$v" -eq 1 ]; then echo compliant; else echo "/Syslog/global/certificate/strictX509Compliance = $v (expected true/1)"; fi- Output yang diharapkan
compliant
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Utilize PowerCLI to remediate </> Powershell Get-VMHost | Get-AdvancedSetting -Name "Syslog.global.certificate.strictX509Compliance" | Set-AdvancedSetting -Value $true -Confirm:$false Verify with Get-VMHost | Get-AdvancedSetting -Name "Syslog.global.certificate.strictX509Compliance" Expected Calue is: Value = True
Properti
- Sistem operasi
- Apa saja
- Tag
- vmwareesxilogging
- Referensi
- CIS VMware ESXi 8.0 Benchmark v1.4.0 - 4.11 Host must use strict x509 verification for TLS-enabled remote logging endpoints
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
tmaegis scan --target vmware