change the certificate method for login

Signed-off-by: shangaijun <shangaijun@aliyun.com>