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
When a user provides an unmatchable certificate bundle (The same DNs but different public key), the error message currently displayed is:
{"errorCode":"ERROR","errorMessage":"Error occurred during a cryptographic operation."}
This error message is unclear, and it may be difficult for users to understand the underlying issue and how to resolve it. For better user experience, we should optimize this error message to provide more specific information about the problem and potential solutions.
The text was updated successfully, but these errors were encountered:
)
Fix:
- optimize the error message for unmatchable certificate bundle (correct
DNs but incorrect public key)
- optimize error message for partial chain
Test:
Previous error message:
```json
{
"errorCode": "ERROR",
"errorMessage": "Error occurred during a cryptographic operation."
}
```
Current error message:
```json
{
"errorCode": "VALIDATION_ERROR",
"errorMessage": "Failed to build the X509 chain. Error occurred during a cryptographic operation. The certificate bundle is unreadable. Please ensure the certificate bundle matches the specific certifcate."
}
```
Resolves#114
Signed-off-by: Junjie Gao <[email protected]>
---------
Signed-off-by: Junjie Gao <[email protected]>
When a user provides an unmatchable certificate bundle (The same DNs but different public key), the error message currently displayed is:
This error message is unclear, and it may be difficult for users to understand the underlying issue and how to resolve it. For better user experience, we should optimize this error message to provide more specific information about the problem and potential solutions.
The text was updated successfully, but these errors were encountered: