not using paths for pems anymore - pass in pem directly now