Certificate testCase fix error on mac.

 (... why does openssl on mac output other formats?)
Merge remote-tracking branch 'origin/mac_cert_fix' into toBuild