work around ssl cert annoyances