Uploaded image for project: 'Gadgets'
  1. Gadgets
  2. GADGETS-21

WARN in the logs about OAuth signing key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 1.LATER
    • 1.0.0
    • None

      Date: Wed Mar 09 14:00:52 CET 2011 (1299675652477)
      Thread: main
      Message #: 86
      Level: WARN
      NDC:
      Category: org.apache.shindig.gadgets.oauth.OAuthModule
      Message: Couldn't load OAuth signing key. To create a key, run:
      openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \
      -out testkey.pem -subj '/CN=mytestkey'
      openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform PEM

      Then edit shindig.properties and add these lines:
      shindig.signing.key-file=<path-to-oauthkey.pem>
      shindig.signing.key-name=mykey

      Location: org.apache.shindig.gadgets.oauth.OAuthModule$OAuthStoreProvider.loadDefaultKey(OAuthModule.java:135)
      Thrown:

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: