Support manual node certificate creation

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • Component/s: SolarIn, SolarUser
    • None

      In order for data to be added to SolarNetwork, a SolarNode certificate must be generated, and used to authenticate/authorize the request to add the new data. To date we more or less consider the only software posting data into SolarNetwork are devices running the SolarNode software. However, it could be useful in some situations to integrate non-SolarNode software so other applications can post data as well. Thus, those other applications need to have access to a SolarNode certificate in order to integrate.

      Currently the way a certificate is generated is via an association process, by which a new SolarNode joins SolarNetwork. The steps involve a user to:

      1. use SolarUser to generate an invitation
      2. copy/paste the invitation into the SolarNode setup screen
      3. follow the prompts on SolarNode, which uses the SolarIn API to accept the invitation, generate a certificate, and pass the node ID and certificate back to SolarNode

      A web API facilitates most of the SolarNode <-> SolarIn interactions during this process, so in theory an application wishing to act like a SolarNode could obtain the necessary certificate by following these association steps.

      This ticket is for creating a new feature in SolarUser for generating a SolarNode certificate manually, without any association process. In effect, the association steps are bypassed, and a new node certificate is created more or less the same as it already is, and the existing functionality for downloading the node's certificate from SolarUser could be leveraged.

      A new "Create New Node" function could be added to the existing "Create New Invitation" function in SolarUser. When exercised, SolarUser would require the user to provide a password for the new certificate, and then SolarUser would generate the new certificate and create/save a new node record that appears like any other node in the user's account. From there, the user can download the certificate and make use of it in other applications as desired.

        1. solaruser-create-node-certificate.png
          349 kB
          Matt Magoffin
        2. solaruser-invite-new-node.png
          281 kB
          Matt Magoffin

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: