fixed ssl untrusted issue