Trying to run the vCert utility on a vCenter 9.0.2 system results in the following error:
~/vCert-6.1.0-20250910 ]# ./vCert.pyTraceback (most recent call last): File "/root/vCert-6.1.0-20250910/./vCert.py", line 187, in <module> init_environment(args) File "/root/vCert-6.1.0-20250910/./vCert.py", line 59, in init_environment init_env_host() File "/root/vCert-6.1.0-20250910/lib/host_utils.py", line 148, in init_env_host smart_card_filter_file = get_smart_card_filter_file() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/vCert-6.1.0-20250910/lib/host_utils.py", line 502, in get_smart_card_filter_file return get_file() if get_file else '' ^^^^^^^^^^ File "/root/vCert-6.1.0-20250910/lib/host_utils.py", line 468, in prop_config_get_file config = load_property_file(STS_SERVER_CONFIG_PROPERTY_FILE_PATH) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/root/vCert-6.1.0-20250910/lib/java_utils.py", line 24, in load_property_file keypath, value = line.split('=', 1) ^^^^^^^^^^^^^^ValueError: not enough values to unpack (expected 2, got 1)
Issue was observed with vCenter 9.0.2 (VVF) and vCert 6.1.0-20250910
#Tue Feb 17 19:48:14 UTC 2026vmidentity.server.connector.ssl.client.auth.protocol=com.vmware.identity.tomcat.ClientAuthHttp11NioProtocolvmidentity.server.connector.connection-timeout=930000vmidentity.threadpool.stdexec.minSpareThreads=50vmidentity.server.connector.ssl.store=MACHINE_SSL_CERTbio-ssl-clientauth.https.port=3128vmidentity.server.connector.ssl.client.auth.certificate.keystore.type=VKSbio-custom.http.port=7080vmidentity.tomcat.accesslog.pattern=%t %I [Request] "%{User-Agent}i" %{X-Forwarded-For}i/%h\:%{remote}p %l %u to local %{local}p - "%r" %H %m %U%q [Response] %s - %b bytes [Perf] process %Dms / commit %Fms / conn [%X]vmidentity.server.connector.ssl.proxy-name=vmidentity.server.connector.ssl.connection-timout=60000vmidentity.tomcat.accesslog.enabled=truevmidentity.server.connector.ssl.client.auth.certificate.key.alias=__MACHINE_CERTvmidentity.server.connector.ssl.localhost.accept-count=200vmidentity.server.connector.ssl.max-http-header-size=16384vmidentity.server.connector.accept-count=100vmidentity.server.connector.ssl.localhost.certificate.keystore.file=MACHINE_SSL_CERTvmidentity.threadpool.stdexec.maxIdleTime=29700000vmidentity.threadpool.stdexec.namePrefix=tomcat-http--bio-ssl-localhost.https.port=7444vmidentity.tomcat.accesslog.directory=logs/tomcatbase.shutdown.port=-1vmidentity.tomcat.accesslog.maxDays=-1vmidentity.server.connector.ssl.protocols=TLSv1.2,TLSv1.3vmidentity.threadpool.stdexec.maxQueueSize=1024vmidentity.server.connector.ssl.client.auth.implementation.name=com.vmware.identity.tomcat.ClientAuthSSLImplementationvmidentity.server.connector.ssl.client.auth.certificate.keystore.file=MACHINE_SSL_CERTvmidentity.server.connector.ssl.client.auth.cert.verification=requiredvmidentity.server.connector.ssl.localhost.protocol=com.vmware.identity.tomcat.VECSAwareHttp11NioProtocolvmidentity.threadpool.stdexec.maxThreads=150vmidentity.server.connector.ssl.ciphers=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384:TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256:TLS_RSA_WITH_AES_256_GCM_SHA384:TLS_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA:TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA:TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA:TLS_RSA_WITH_AES_256_CBC_SHA:TLS_RSA_WITH_AES_128_CBC_SHA:TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256vmidentity.server.props.driven=truevmidentity.server.connector.ssl.localhost.implementation.name=com.vmware.identity.tomcat.VECSAwareSSLImplementationvmidentity.tomcat.accesslog.renameOnRotate=falsevmidentity.server.connector.ssl.localhost.certificate.key.alias=__MACHINE_CERTvmidentity.tomcat.accesslog.prefix=localhost_accessvmidentity.server.connector.max-keep-alive-requests=100bio-custom.https.port=8443vmidentity.server.connector.address=localhostvmidentity.server.connector.ssl.localhost.certificate.keystore.type=VKSvmidentity.server.connector.ssl.client.auth.truststore.file=/usr/lib/vmware-sso/vmware-sts/conf/clienttrustCA.pemvmidentity.tomcat.accesslog.suffix=.logThe issue was fixed in vCert-6.1.1-20260401.zip and is available here:
vCert - Scripted vCenter expired certificate replacement
https://knowledge.broadcom.com/external/article/385107
Workaround:
Remove the line with the comment from /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties then vCert will run.