Read certificates from memory or files.

I wanted to generate client certificates on the fly and thought it was unnecessary to write them to disk before wrapping them in an ios config, so now we can use either variables or files to input certificates.