add function of ssl_gen to show detail