workaround ssl cert error