After changing my OS, I'm unable to access my gitlab repository in Pycharm

Please guide me to access my gitlab repository in my Pycharm Professional IDE. I also created a new ssh key pair, and added it to gitlab ssh keys. But, on Pycharm when I click on Test providing my gitlab project url, I’m getting an error "The authenticity of host ‘gitlab.com (35.231.145.151)’ can’t be established.
ECDSA key fingerprint is SHA256:HbW3g8zUjNSksFbqTiUWPWg2Bq1x8xdGUrliXFzSnUw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? " Earlier I was using Pycharm Community Edition. Is that the reason or what is the reason for error.
Kindly advice what needs to do done. Thank you