ofcourse vpn with cretificate is much secure than pre shared key thanx
Not sure I'd agree with that. Pre-shared keys means both parties know who is on the other end. Use of certificates in PKI only means the person with the public key knows who is on the other end - system with the private key has no clue who the other system is.