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

[fiware-stackoverflow] Getting error "Error loading private server key"

    Details

      Description

      Created question in FIWARE Q/A platform on 27-11-2014 at 19:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/27177105/getting-error-error-loading-private-server-key

      Question:
      Getting error "Error loading private server key"

      Description:
      So I was implementing rush in Orion Context Broker Server instance, and whenever I try to start the contextBroker with the following command:

      contextBroker -rush localhost:1234 -https -key privkey.pem -cert cert.csr

      , I'm getting the following error:

      E@18:16:11 loadFile[1101]: error opening 'privkey.pem': No such file or directory
      X@18:16:11 main[1258]: Error loading private server key from 'privkey.pem'

      I generated my private key with the following command, I don't know if it's correct:

      openssl genrsa -des3 -out privkey.pem 2048

      And I generated my certificate with the following command:

      openssl req -new -key privkey.pem -out cert.csr

      Do I'm doing something wrong?

        Activity

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 27-11-2014 at 19:11
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/27177105/getting-error-error-loading-private-server-key


        +Question:+
        Getting error "Error loading private server key"

        +Description:+
        So I was implementing rush in Orion Context Broker Server instance, and whenever I try to start the contextBroker with the following command:

        contextBroker -rush localhost:1234 -https -key privkey.pem -cert cert.csr


        , I'm getting the following error:

         E@18:16:11 loadFile[1101]: error opening 'privkey.pem': No such file or directory
         X@18:16:11 main[1258]: Error loading private server key from 'privkey.pem'


        I generated my private key with the following command, I don't know if it's correct:

        openssl genrsa -des3 -out privkey.pem 2048


        And I generated my certificate with the following command:

        openssl req -new -key privkey.pem -out cert.csr


        Do I'm doing something wrong?
        Created question in FIWARE Q/A platform on 27-11-2014 at 19:11
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/27177105/getting-error-error-loading-private-server-key


        +Question:+
        Getting error "Error loading private server key"

        +Description:+
        So I was implementing rush in Orion Context Broker Server instance, and whenever I try to start the contextBroker with the following command:

        contextBroker -rush localhost:1234 -https -key privkey.pem -cert cert.csr


        , I'm getting the following error:

         E@18:16:11 loadFile[1101]: error opening 'privkey.pem': No such file or directory
         X@18:16:11 main[1258]: Error loading private server key from 'privkey.pem'


        I generated my private key with the following command, I don't know if it's correct:

        openssl genrsa -des3 -out privkey.pem 2048


        And I generated my certificate with the following command:

        openssl req -new -key privkey.pem -out cert.csr


        Do I'm doing something wrong?
        fla Fernando Lopez made changes -
        Assignee Fermín Galán [ fermin ]
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        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 ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: