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.
- blocks
-
NETCONF-1284 Cannot connect device over TLS
- In Progress
- is duplicated by
-
NETCONF-1292 Fix inconsistent payload for keystore RPCs
- Resolved
- relates to
-
NETCONF-1304 Unify certificates payload for keystore RPCs
- Open