A mobile ad hoc network (MANET) is a collection of wireless mobile nodes which have the ability to communicate with each other without having fixed network infrastructure or any central base station. Individual nodes are responsible for dynamically discovering other nodes that they can directly communicate with. Communication between nodes may be achieved by means of Route Discovery and maintenance. Because of mobility nature, discovery task is more complex. A black hole is a malicious node that falsely replies to any route requests without having active route to specified destination and drops all the receiving packets. Black Hole Attack can be easily deployed by the adversary. If these malicious nodes work together as a group then the damage will be very serious. This type of attack is called cooperative black hole attack. A neighborhood based method to detect whether there exists a black hole attack and a routing recovery protocol to set up a correct path to the true destination. We propose a complete protocol to detect a chain of cooperating malicious nodes in an ad hoc network that disrupts transmission of data by feeding wrong routing information. In this model, the nodes authenticate each other by issuing security certificate with digital signature to all the other nodes in the network. This model is capable of detecting and removing black hole nodes in the MANET also with a secured route discovery by means of an algorithm termed as endairA algorithm.