一、生成证书
openssl生成自签证书
二、启动Jenkins时指定证书
java -jar jenkins.war --logfile=/data/jenkins/log --httpPort=-1 --httpsPort=8090 -Dfile.encoding=UTF-8 --httpsCertificate=cert.pem --httpsPrivateKey=cert.key &
微信扫一扫
openssl生成自签证书
java -jar jenkins.war --logfile=/data/jenkins/log --httpPort=-1 --httpsPort=8090 -Dfile.encoding=UTF-8 --httpsCertificate=cert.pem --httpsPrivateKey=cert.key &
相关推荐