Hello @aviral_srivastava, you can find more information in the provided link: Troubleshoot common problems | Fleet and Elastic Agent Guide [8.1] | Elastic
There is a specific section about the error you are seeing: Troubleshoot common problems | Fleet and Elastic Agent Guide [8.1] | Elastic
TL;DR: pass --insecure to install command