Implement the following steps to remove the deprecated log4j-core-2.17.0.jar file.
- Take a snapshot of the vCenter Server and/or a back up
- SSH to vCenter via root
- Identify which log4j-core files are present:
ls /usr/lib/vmware/common-jars/log4j-core*
- On vCenter Server 8.0, the vCenter Server should have the following two files:
/usr/lib/vmware/common-jars/log4j-core-2.17.0.jar
/usr/lib/vmware/common-jars/log4j-core-2.17.1.jar
- If both files exist, proceed to removing the deprecated version:
rm /usr/lib/vmware/common-jars/log4j-core-2.17.0.jar
- Reboot the vCenter Server
- Perform a security scan