add func delete cert