This is a known issue due to python 3.x changes in vCSA 6.7
Workaround:
Note : Before executing the script, please take snapshot/backup of the vCenter server
Please try the changes on the script using the below steps
- Copy the original file as a backup before modifying
cp /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/reconfigureEsx /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/reconfigureEsx_orig
sed -i.orig 's/iteritems/items/' /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/reconfigureEsx
- Copy the nfclib.py which is compatible with python 2.x post taking the original file backup
cp /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/pyVim/nfclib.py /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/pyVim/nfclib.py_orig
cp /usr/lib/vmware/site-packages/pyVim/nfclib.py /usr/lib/vmware-vSphereTlsReconfigurator/EsxTlsReconfigurator/pyVim/nfclib.py