Let ENC and report script validate and provide SSL certificates


This copies the fix for CVE-2013-0171 and CVE-2013-0174 from
https://github.com/theforeman/puppet-foreman/commit/7697116c39a26a37efc80d8a6c8e25704beb9c94