Added new clearer error if usercert is missing but the operation requires it.