Add ability to set PEM contents directly, to allow for alternative storage of certificates other than local storage.