The URL you are using to access the dashboard is an endpoint on the API Server. By default, kubeadm deploys the API server on port 6443, and not on 443, which is what you would need to access the dashboard through https without specifying a port in the URL (i.e. https://<kubernetes-master>/ui)
Ready to master Kubernetes and take your container orchestration skills to the next level? Join our comprehensive Kubernetes Course today!