Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1291

Fix inconsistent payload for keystore RPCs

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None
    • netconf

      There are some inconsistencies in RPCs for keystore that does not make sense. We have 3 RPCs:

      • add-keystore-entry
      • add-private-key

      Problem lies in way we pass private key in first two. add-keystore-entry requires key to have headers:

      -----BEGIN RSA PRIVATE KEY-----
      ...
      -----END RSA PRIVATE KEY----- 

      and without them it does not work.

      The same key in add-private-key should be without headers. This creates some inconveniences for automatization and in general confusing to use. Therefore it should be fixed and all private keys should be accepted only with headers

            ojo Oleksandr Zharov
            ojo Oleksandr Zharov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: