zoukankan      html  css  js  c++  java
  • How to enforce Jenkins to use TLS 1.2

    Problem: security scan reports "Vulnerabilities: 20007 - SSL Version 2 and 3 Protocol Detection" against jenkins server.

    Resolution: enforce Jenkins to use TLS 1.2, update C:Program Files (x86)Jenkinsjenkins.xml, add param as below in bold red, then restart jenkins.
      <executable>%BASE%jreinjava</executable>
      <arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%jenkins.war" -Dhttps.protocols=TLSv1.2 --httpPort=8080 --webroot="%BASE%war"</arguments>

    Reference: How to enforce Jenkins to use TLS 1.2 (https://support.cloudbees.com/hc/en-us/articles/115003362911-How-to-enforce-Jenkins-to-use-TLS-1-2)
    You can follow this KB to disable ciphers on your JVM Disabling Specific Ciphers In Jenkins or add this property to your Jenkins java properties -Dhttps.protocols=TLSv1.2

  • 相关阅读:
    推理思维
    模糊数学
    Android 加法程序
    线程特点
    单例模式的优缺点
    lua 字符串过滤,特殊字符过滤
    cocos2dx
    cocos2dx之控制台输出
    C++基础(using)
    生活常识
  • 原文地址:https://www.cnblogs.com/qdlk/p/10307044.html
Copyright © 2011-2022 走看看