Added cert stuff