Fixed certificate errors.