Logstash 5.0.0-alpha4 - Can't install any plugins

Having an issue with LS 5 alpha4: Trying to install any plugins throws an install error, resulting in a retry loop.

I tried to do this first of all with a local .gem, however packaged plugins are also producing the same error.

e.g.,

# /usr/share/logstash/bin/logstash-plugin install logstash-filter-anonymize
Validating logstash-filter-anonymize
Installing logstash-filter-anonymize
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.0.0.pre.alpha4), and Bundler cannot continue.
Make sure that gem install logstash-core-event-java -v '5.0.0.pre.alpha4' succeeds before bundling.

Any ideas?

Ubuntu 14.04 amd64
Logstash 1:5.0.0~alpha4-1
openjdk-8-jre-headless 8u91-b14-0ubuntu4~14.04

Just adding in a "me too" here.

# /opt/logstash/bin/logstash-plugin install logstash-input-beats
OpenJDK 64-Bit Zero VM warning: TieredCompilation is disabled in this release.
Validating logstash-input-beats
Installing logstash-input-beats
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.0.0.pre.alpha4), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.0.0.pre.alpha4'` succeeds before bundling.
^C

# gem install logstash-core-event-java -v '5.0.0.pre.alpha4'
ERROR: Could not find a valid gem 'logstash-core-event-java' (= 5.0.0.pre.alpha4) in any repository
ERROR: Possible alternatives: logstash-codec-netflow, logstash-codec-nmap, logstash-event, logstash-codec-avro, logstash-codec-cef

Backed up to logstash-5-0-0-alpha3 and was able to install the logstash-input-beats plugin without any issue.

This was reported and resolved on github here:

Solution:
sudo update-ca-certificates -f