To view the characters that prevented VirtualCenter from recognizing the old rui.crt file, run the diff command and compare the new file with the old file:
# diff rui.crt rui.crt.old
The output appears similar to:
1,32c1,32
-----BEGIN CERTIFICATE-----
MIIFmTCCBIGgAwIBAgIKH3SyyAAAAAAHOzANBgkqhkiG9w0BAQUFADBYMRIwEAYK
CZImiZPyLGQBGRYCY2ExFTATBgoJkiaJk/IsZAEZFgVjY2hzYTETMBEGCgmSJomT
8ixkARkWA2ludDEWMBQGA1UEAxMNQ0NIU0EgUm9vdCBDQTAeFw0wODA0MjEyMDE2
MzVaFw0xMDA0MjEyMDE2MzVaMIGEMQswCQYDVQQGEwJDQTEQMA4GA1UECBMHT250
-----END CERTIFICATE--------
-----BEGIN CERTIFICATE-----
MIIFmTCCBIGgAwIBAgIKH3SyyAAAAAAHOzANBgkqhkiG9w0BAQUFADBYMRIwEAYK
CZImiZPyLGQBGRYCY2ExFTATBgoJkiaJk/IsZAEZFgVjY2hzYTETMBEGCgmSJomT
8ixkARkWA2ludDEWMBQGA1UEAxMNQ0NIU0EgUm9vdCBDQTAeFw0wODA0MjEyMDE2
MzVaFw0xMDA0MjEyMDE2MzVaMIGEMQswCQYDVQQGEwJDQTEQMA4GA1UECBMHT250
-----END CERTIFICATE-----