PERL-233 re-merging forgotten commit for SSL cert validation