I am working on a Google cloud machine configured with Ubuntu 16.04. I have a personal github which can be accessed with an http url. I tried to clone the repository in to my local Ubuntu machine, it works. But when it comes to Google cloud machine, it shows the below error.
fatal: unable to access 'https://example.com/root/myapp.git/': SSL: certificate subject name (american-securities.com) does not match target host name 'example.com'
Can someone help me resolve this ?
Thanks in advance.