working on certificate (user,server) generation