add generate shell
modify cert generate shell