If both equally are distinctive host name verification will fall short. Inside your case certificate has CN as neighborhood host and any time you make an effort to invoke applying IP deal with, it fails. When you develop the cert you may have single host title / multiple host title https://www.hostscheap.com/ssl-certificates