How to add a SSL self-signed cert to Jenkins for LDAPS within Dockerfile?

前端 未结 3 2079
再見小時候
再見小時候 2020-12-09 11:05

I want to enable LDAPS under security in Jenkins but my LDAP server has a self-signed CERT. Has anyone done this or have some pointers on doing this? Do I have to use keytoo

3条回答
  •  醉梦人生
    2020-12-09 11:38

    On our build server with jenkins, nexus and sonarqube we use a extracted and prepared cacerts file on the host using a start parameter for docker run.

    See my answer on Stackoverflow "Importing self-signed cert into Docker's JRE cacert is not recognized by the service"

提交回复
热议问题