You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present, if connected to a platform running with insecure self-signed certs or over http, the CLI will report Failed to get platform configuration. Is the platform accepting connections at '$HOST'? when using client credentials, or ERROR An error occurred during login. Please check your credentials and try again: platform configuration not found when trying to directly authenticate the profile through client credentials.
These errors are misleading, as the true error is that the well-known config is available but the cert failed. This is due to logic here:
Background
At present, if connected to a platform running with insecure self-signed certs or over http, the CLI will report
Failed to get platform configuration. Is the platform accepting connections at '$HOST'?
when using client credentials, orERROR An error occurred during login. Please check your credentials and try again: platform configuration not found
when trying to directly authenticate the profile through client credentials.These errors are misleading, as the true error is that the well-known config is available but the cert failed. This is due to logic here:
otdfctl/cmd/root.go
Line 146 in cdaae40
We should check if the reason the SDK errored out was due to not passing
--tls-no-verify
and instruct the CLI user helpfully about the situation.Acceptance Criteria
The text was updated successfully, but these errors were encountered: