title: Error - trustAnchors parameter must be non-empty
body: <p>I'm trying to configure my e-mail on Jenkins/Hudson, and I constantly receive the error:</p>
  
  <pre><code>java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be
      non-empty
  </code></pre>
  
  <p>I've seen a good amount of information online about the error, but I have not gotten any to work. I'm using Sun's JDK on Fedora Linux (not OpenJDK).</p>
  
  <p>Here are a few things I've tried. I tried following the advice from this <a href="https://stackoverflow.com/questions/4764611/java-security-invalidalgorithmparameterexception-the-trustanchors-parameter-must">post</a>, but copying the cacerts from Windows over to my Fedora box hosting Jenkins didn't work.  I tried following <a href="http://g4j.sourceforge.net/faq.html" rel="noreferrer">this guide</a> as I'm trying to configure Gmail as my SMTP server, but it didn't work either. I also tried to download and move those cacert files manually and move them over to my Java folder using a variation of the commands on <a href="http://www.krzywanski.net/archives/546" rel="noreferrer">this guide</a>.</p>
  
  <p>I am open to any suggestions as I'm currently stuck right now. I have gotten it to work from a Windows Hudson server, but I am struggling on Linux.</p>