Added option to set contents of pem instead of path to file