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

Avoid certificate errors in tests.
Merge remote branch 'origin/CMSSW_7_1_X' into CMSSW_7_0_X
Merge remote branch 'origin/CMSSW_7_2_X' into CMSSW_7_0_X