Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4925

FIWARE.Request.Tech.Security.PEP-Proxy.How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers

    Details

      Description

      Created question in FIWARE Q/A platform on 14-04-2015 at 15:04
      Please, ANSWER this question AT http://stackoverflow.com/questions/29628531/how-to-configure-the-fiware-pep-wilma-proxy-to-use-a-keyrock-and-orion-instance

      Question:
      How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers

      Description:
      I've spent most of the day trying to configure the Fiware PEP proxy Wilma to secure an Orion Context Broker i have running on a development server. The documentation here: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/PEP_Proxy_-Wilma-_Installation_and_Administration_Guide is not clear.

      Here is my setup:

      A Fiware Keyrock instance running on server1, port 3000
      A PEP Proxy running on server 1
      An Orion Context Broker running on server2, port 1026

      The manual states to edit the config.js script. Here is what i changed (Stackoverflow prevents me from entering url's so replace http.. with http

      config.account_host = 'http..//localhost:3000';

      config.keystone_host = 'http..//server1';
      config.keystone_port = 3000;

      config.app_host = 'server2';
      config.app_port = '1026';

      config.username = '***** username of the user in Keyrock *****';
      config.password = '***** password of the user in Keyrock *****';

      Here is the error

      ~/fi-ware-pep-proxy$ node server.js
      express deprecated app.configure:
      Check app.get('env') in an if statement server.js:30:5 Starting PEP proxy. Keystone authentication ... Error in keystone communication
      Error: getaddrinfo ENOTFOUND
      at errnoException (dns.js:37:11)
      at Object.onanswer [as oncomplete] (dns.js:124:16)

      My Orion and Keyrock instances are up and running. I can query them with curl or a browser.

      I really have no idea what i should be filling in the config.js to get this set up.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 59m 1 Backlog Manager 22/Oct/15 12:04 PM
        In Progress In Progress Answered Answered
        3h 1 Backlog Manager 22/Oct/15 3:04 PM
        Answered Answered Closed Closed
        6d 2h 34m 1 Manuel Escriche 28/Oct/15 4:39 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        mev Manuel Escriche made changes -
        HD-Enabler Wilma [ 10890 ]
        HD-Chapter Security [ 10841 ]
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Security.PEP-Proxy.How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers FIWARE.Request.Tech.Security.PEP-Proxy.How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers
        aalonsog Alvaro Alonso made changes -
        Summary [fiware-stackoverflow] How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers FIWARE.Request.Lab.Security.PEP-Proxy.How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers
        mev Manuel Escriche made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        mev Manuel Escriche made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 15:05|UPDATED status: transition Answered| # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 15:05|UPDATED status: transition Answered| # answers= 4, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 12:05|UPDATED status: transition Answer| # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 12:05|UPDATED status: transition Answer| # answers= 4, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-22 09:05|CREATED monitor | # answers= 4, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-22 09:05|CREATED monitor | # answers= 4, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: