wip: response implementation + cert modification