Unable to download package using composer

I’m trying to download a package from our private repository but there is an error for the certificate and I dont know why it became ip address as we are using hostname and the certificate is installed on the hostname not in this ip(see below screenshot).