Not able to provision new cluster on nutanix

I have deployed rancher using helm chart with our own public certificate and CA.
Once i try to deploy a new cluster using rancher, it is stuck on waiting to register kubernetes and the error below is found on the control plane node once i run docker logs command:
Error: the environment variable cattle_ca_checksum is set but there is no CA certificate configured.