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...

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/679f7362-dfe7-4c8e-abad-c9da2f433abb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to