Completely Agree with @mastier1 . The base64 prefix is an easy way to
make errors, and sometimes hard to debug.

** Description changed:

- In the landscape-client charm and landscape-config tool, the config 
"ssl-public-key" is incorrect.
+ The issue is in the landscape-client charm's config, with the key name
+ "ssl-public-key", as well as in the landscape-config tool (which is part
+ of the landscape-client), with the cli option -k SS:_PUBLIC KEY, --ssl-
+ public-key=SSL_PUBLIC_KEY.
+ 
  Below is the entry in the landscape-client charmhub page:
  
  ```
  ssl-public-key | string
  
  The CA certificate to verify the server certificate with. This can be
  a path to a file, or a base64 encoded entry of the certificate itself,
  prefixed with "base64:". This config is only used if the message server
  URL given above starts with https.
  ```
  
- The word "key" should be changed to "cert" in both the landscape-client
- charm and the documentation for landscape-config.
+ And in the man page of landscape-config:
+ 
+ ```
+        -k SSL_PUBLIC_KEY, --ssl-public-key=SSL_PUBLIC_KEY
+               The SSL CA certificate to verify the server with. Only used if 
the  server URL to which we connect is https.
+ ```
+ 
+ The word "key" should be changed to something more accurate, such as
+ "cert".

** Description changed:

  The issue is in the landscape-client charm's config, with the key name
  "ssl-public-key", as well as in the landscape-config tool (which is part
  of the landscape-client), with the cli option -k SS:_PUBLIC KEY, --ssl-
  public-key=SSL_PUBLIC_KEY.
  
  Below is the entry in the landscape-client charmhub page:
  
  ```
  ssl-public-key | string
  
  The CA certificate to verify the server certificate with. This can be
  a path to a file, or a base64 encoded entry of the certificate itself,
  prefixed with "base64:". This config is only used if the message server
  URL given above starts with https.
  ```
  
  And in the man page of landscape-config:
  
  ```
-        -k SSL_PUBLIC_KEY, --ssl-public-key=SSL_PUBLIC_KEY
-               The SSL CA certificate to verify the server with. Only used if 
the  server URL to which we connect is https.
+        -k SSL_PUBLIC_KEY, --ssl-public-key=SSL_PUBLIC_KEY
+               The SSL CA certificate to verify the server with. Only used if 
the  server URL to which we connect is https.
  ```
+ Additionally, when using the `landscape-config` tool, it will ask the user to 
supply the --ssl-public-key option, so the change needs to be done on all 
occurrences. 
  
- The word "key" should be changed to something more accurate, such as
- "cert".
+ 
+ The word "key" should be changed to something more accurate, such as "cert".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066033

Title:
  Incorrect/Misleading key name in landscape-client charm and landscape-
  config tool, "ssl public key"

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/2066033/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to