48

最近、Windows上にJenkinsCIサーバーをセットアップしました。ここで、Active Directory認証を使用するために、アクセスにhttps(SSL / TLS)を要求したいと思います。この設定を考えると、これを行うための推奨される方法は何ですか?

4

3 に答える 3

38

%JENKINS_HOME%に移動し、jenkins.xmlを変更します。--httpPort=8080もちろん、変更するとポートを自由に作成できますが、私のテストでは(しばらく前に変更さ--httpPort=-1 --httpsPort=8080れている可能性があります)、保持しない場合、--httpPort=<something>Jenkinsは常に8080を使用します。 、ポート8080は引き続きhttpを使用します。--httpPort=8080--httpsPort=8080

また、独自の証明書を使用する場合は、このページの下部にいくつかの手順があります。

http://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins

于 2011-03-16T14:53:22.733 に答える
21
于 2012-03-07T22:58:47.640 に答える
1

Step1: Create both public and private Certificate on your jenkin name (convert them into keysore file if its not) Step2: Import the public certificate into your browser certificate mananger (import into all tabs) Step3: Host your jenkin using JKS file which contain both public and private key.

For steps refer "Enable HTTPS in jenkins?"

于 2019-04-05T16:22:55.233 に答える