While installing facing an issue with the microk8s

Hey Everyone!

While running a simple installation command in Ubuntu 22.04 LTS, facing a strange issue details for which are as follows:

sudo snap install microk8s --classic
error: cannot install "microk8s": Post
       https://api.snapcraft.io/v2/snaps/refresh: http: server gave HTTP
       response to HTTPS client

Anybody having idea on this kindly respond.