How to Solve SSL Certificate with Wrong Hostname Error?