CRITICAL vmrc.exe 16544 [ws@4413 threadName="vmrc"] PANIC: bora\lib\string\str.c:283 Buffer too smallVCF/VVF 9.0.x
VCF/VVF 9.1.0
VMRC 13.x
This is a known issue affecting VMRC 13.x. on VVF/VCF 9.x environments
A fix to this issue will be implemented to a future release.
Workaround:
Modify the ESXi host's SSL certificate file to remove the appended CA chain, leaving only the required leaf certificate:
Steps to apply the workaround:
Identify the ESXi host where the affected Virtual Machine is currently registered and running.
Log in to the ESXi Shell, either directly from the DCUI or from an SSH client, as a user with administrator privileges.
In the directory /etc/vmware/ssl, rename the existing certificates using the following commands.
cd /etc/vmware/ssl/
CRITICAL: Create a backup of the existing certificate before making any modifications:
cp rui.crt rui.crt.backup
View the contents of the certificate to confirm it contains a multi-level chain:
cat rui.crt
You will notice multiple blocks of text starting with -----BEGIN CERTIFICATE----- and ending with -----END CERTIFICATE-----. The very first block is the ESXi host's leaf certificate. Any subsequent blocks are the chained CA certificates.
Open the certificate file in a text editor, such as vi:
vi rui.crt
Carefully delete all text after the very first -----END CERTIFICATE----- tag.
Ensure that no trailing spaces or empty lines remain after the first block's end tag.
The file should now contain exactly one BEGIN and END block.
Save and exit the file (in vi, press Esc, type :wq, and press Enter).
Restart the management agents on the ESXi host to force it to load the corrected certificate payload:
/etc/init.d/hostd restart && /etc/init.d/vpxa restartOnce the host reconnects to vCenter, launch VMRC and connect to the Virtual Machine. The connection will now succeed.