The Fleet lifecycle 'Component import' task with ID ######-####-####-####-######### failed.
Internal errors:
An unexpected error occurred in step discover_vrni_component_task_ref. Reference Code: DD4F27F4. Please contact support with this reference code.
Detail: I/O error on POST request for "https://###.###.#####:443/api/auth/login": Certificate for <###.###.#####> doesn't match any of the subject alternative names: [],
An unexpected error occurred in step discover_vrni_component_task_ref. Reference Code: 41E4134B. Please contact support with this reference code. Detail: I/O error on POST request for "https://###.###.#####/api/auth/login":To fix this, the VCF Operations for Networks Platform appliance(s) need to be updated with valid certificates containing IPs in SAN fields of certificates, via a script.
Script filename: rotate_vrni_certs.sh
Size: 52.8 kb
MD5 Checksum: 0A9CAC12A2AED222EFE0A490A38F9B17
See steps below:
support to transfer the file.ls -lrth sudo md5sum rotate_vrni_certs.shsudo chmod 777 rotate_vrni_certs.shsudo bash ./rotate_vrni_certs.sh verifyThe above command will verify it vRNI deployment needs certificate rotation or not.There are 2 options to rotate the certificates
a) By using certificate signed by CA authority, Recommended if customer has earlier applied external CA signed certificate to VCF Operations for Networks.
Copy the external CA signed certificate, private key and CA chain on the platform where we have copied rotate_vrni_certs.sh
Now execute the script as sudo bash ./rotate_vrni_certs.sh apply –-certs <certificate-pem-file-path-here> --key <private-key-pem-file-path-here> --ca-chain <ca-chain-pem-file-path-here>
After running the command you should get below output on successful execution.
b) By using self signed certificate generated by rotate_vrni_certs.sh script
You can provide option --self-signed to rotate_vrni_certs.sh and it will generate required self signed certificate for you.
The command to be ran is sudo bash ./rotate_vrni_certs.sh apply --self-signed
After running the command you should get below output on successful execution.
After the script is executed successfully, navigate VCF Operations 9.1.0 GUI.
su -
Password:Enter the password to login sudo vim /etc/vmware/vcf/domainmanager/application-prod.propertiesfleetlcm.task.id.to.recreate=<Copied TaskID from step 15> entry in the above file and save the file.cat /etc/vmware/vcf/domainmanager/application-prod.propertiessystemctl restart domainmanager