Identification and Avoidance of Malicious Nodes by using Certificate Revocation Method