@vinu.thankachan Do you happen to have authentication enabled?
Package hosting—To deploy an enrollment package to computers using a distribution point other than a cloud distribution point, the distribution point must use HTTPS and cannot use any authentication.
Source: Computer PreStage Enrollments
Hi Vinu. I've just written a bit about using un-athenticated https DPs for Automated Device Enrollment with Jamf Connect and on-prem Jamf Pro - have a look at https://www.jamf.com/jamf-nation/discussions/35685/managing-on-prem-distribution-point-for-enrollment-packages.