Yast: SSL certificate problem, verify that the CA cert is OK

用Yast更新软件的时候发现没法更新,发现连不上SMT SERVER, 总是报错说:

SSL certificate problem, verify that the CA cert is OK

SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed


解决办法:


1)删掉旧的CA rm /var/lib/CAM/YaST_Default_CA

 rm /srv/www/htdocs/smt.crt


2)创建新的CA smt.crt并且导出到/srv/www/htdocs/使用yast ca_mgm


3)查看openssl x509 -in /srv/www/htdocs/smt.crt -text


4)下载SMT SERVER的证书:

/usr/lib/suseRegister/bin/clientSetup4SMT.sh --host smtserver


你可能感兴趣的:(42,Linux)