Skip to content
Commit 34b4bf52 authored by Stephen Connolly's avatar Stephen Connolly
Browse files

Do not fail certificate validation because some files in Jenkins Home are not actually certificates

- If there are any files in `$JENKINS_HOME/update-center-rootCAs` that are not ending in `.txt` and are
  not valid certificates, do not blow up the entire certificate checking (and hence the ability to see updates
  or tool installers) but rather ignore those files and warn the user that the file should not be there.
  The correct thing to do is only use as trusted certificates those certificates that parse.

- Also fix resource leak
parent 033637a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment