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