<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 4/25/17 12:29 PM, Brent Putman
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9b490f5d-d420-1aa4-2caa-2e1620d644cb@georgetown.edu">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <br>
      <b>Caused by:
        org.springframework.beans.factory.NoSuchBeanDefinitionException:
        No bean named 'shibboleth.DefaultEncryptionCredentials' is
        defined</b><br>
      <br>
      <br>
      So sounds like that bean doesn't exist in your
      conf/credentials.xml.  <br>
    </blockquote>
    <br>
    <blockquote type="cite"
      cite="mid:9b490f5d-d420-1aa4-2caa-2e1620d644cb@georgetown.edu"> <br>
      That bean is defined in the shipped version of the file, so maybe
      you commented some stuff out?<br>
      <br>
    </blockquote>
    <br>
    Or, if the bean is defined there, then maybe you don't have the
    properties idp.encryption.key and idp.encryption.cert defined in
    conf/idp.properties?  And/or the paths pointed to those don't
    exist?  By default is:<br>
    <br>
    idp.encryption.key = %{idp.home}/credentials/idp-encryption.key<br>
    idp.encryption.cert = %{idp.home}/credentials/idp-encryption.crt<br>
    <br>
    I don't remember off-hand what we do on a v2 upgrade, which didn't
    support encryption.  Maybe we copy the signing key, but I'm not
    sure, one of the other devs on the team probably knows.<br>
    <br>
    It's possible you might have to copy your cert/key (or create a new
    key pair and cert) so as to be the encryption credential defined by
    those properties.  Check your credentials/ folder.  (Of course
    whatever that cred is, it needs to match what you publish in
    metadata).<br>
    <br>
  </body>
</html>