Avoid certificate errors in tests.
Merge pull request #4028 from ktf/fix-http-tests

Avoid certificate errors in tests.