On Fri, Nov 3, 2017 at 1:58 AM Tobias Breuer <[email protected]> wrote:
> Hi, for anyone else having similar issues. I've finally solved it for my > scenario. > > Originally I've added the PEM information about our self signed > certificate to the keystore of the java installation on my machine. > After having a second look at the jenkins config, it turned out, that > jenkins was using its own jre version which is located in the installation > dir of jenkins itself (I'm running on Windows). > So I had to adapt the keystore within this particular jre and not the one > installed in "Program Files". Now jenkins can successfully communicate with > our GitHub enterprise server using a self signed certificate. > > Now I only have to figure out why the git plugin cannot checkout even > though git itself can do it via command line. > Step by Step... > > Tobias, Can you help me understand the use case for self-signed certificates on a commercially purchased product? Your organization has paid to install, configure, and use GitHub Enterprise. It seems like you would also choose to purchase a certificate from a certificate authority. What are the barriers that prevent you from installing a certificate from a certificate authority, rather than generating one yourselves? Thanks, Mark Waite (I don't test the git plugin with self-signed certificates) > Am Donnerstag, 2. November 2017 17:24:24 UTC+1 schrieb Tobias Breuer: >> >> Hi, >> >> I'm currently running into the same issue. Did you find any answer to >> this yet? >> >> Am Freitag, 10. Februar 2017 20:26:21 UTC+1 schrieb Ryan Golhar: >>> >>> Hi all - I'm trying to set up Jenkins with our enterprise github >>> install. We're using https with self-signed certificates. I've added the >>> CA PEM to /etc/pki/tls/certs/ca-bundle.crt, and can verify this works by >>> using 'curl https://our.enterprise.github.com/api/v3/' >>> >>> Now, in Jenkins -> Manage Jenkins, under 'GitHub Enterprise Servers', I >>> enter the same API endpoint but get the message "The endpoint does not look >>> like a GitHub Enterprise (verify network and/or try again later)". My >>> Jenkins log file shows: >>> Feb 10, 2017 7:18:57 PM >>> org.jenkinsci.plugins.github_branch_source.Endpoint$DesciptorImpl >>> doCheckApiUri >>> WARNING: Server returned HTTP response code: -1, message: 'null' for >>> URL: https://our.enterprise.github.com/api/v3/ >>> >>> I'm not really sure how to proceed as this point. Has anyone run into >>> this before? >>> >>> -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/679f7362-dfe7-4c8e-abad-c9da2f433abb%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/679f7362-dfe7-4c8e-abad-c9da2f433abb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGZcZMk2-iq1U7%2BLJKAY5U67RGJZXNt%2BYj3CoBC%2BS2JMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
