Check for cert bundle existence before using it
Store curl error message directly
Merge pull request #11950 from owncloud/stable7-s2s-fixcertcheckwhennocertfile

[stable7] Check for cert bundle existence before using it