Jenkins + Apache + SSL = no available updates

867 views Asked by At

I have followed this tutorial and many others:

https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache

However, none of my attempts have been successful:

  1. When I go to Plugin Manager -> Available, it says "No updates"
  2. When I go to Plugin Manager -> Advanced -> Check Now, it says "Checking Updates..." and then nothing happens.
  3. Looking at Apache and Tomcat logs, nothing shows up.
  4. Looking at browser console, no errors appear. However, I get warnings like this one:

    [blocked] The page at 'https://mywebsite.com/jenkins/pluginManager/checkUpdates' was loaded over HTTPS, but ran insecure content from 'http://updates.jenkins-ci.org/updates/hudson.tools.JDKInstaller.json.html?id=hudson.tools.JDKInstaller&version=1.544': this content should also be loaded over HTTPS.

Looking at this, I realize the plugin manager wasn't designed for https, because it makes ajax requests for non-SSL endpoints.

So what's the right solution to this? Is there an HTTPS endpoint to use for downloading plugins? Do I need to use a different browser?

Thanks.

1

There are 1 answers

5
rakslice On

There is an HTTPS endpoint to use:

https://updates.jenkins-ci.org/update-center.json