TWSD-1479 - An erroneous pop-up is displayed when attempting to update the ciphers after changing the TLS version

Review Request #1404 — Created Feb. 26, 2026 and submitted — Latest diff uploaded

shuinvy
APV10
rel_apv_10_7
TWSD-1479
austin, kevin.poh, mingji, weikai

Fix typo and manual address the error message.

The Jira ticket is:
https://arraynetworks.atlassian.net/browse/TWSD-1479

The root cause is typo of match data in API.
Originally,
the typo is Please make the supported SSL version and cipher suites consistent.
However,
the true string should be Please make the supported SSL version match the cipher suites
Besides,
it will always return warning when updating Cipher Suites,
so I added "flag" to check if user updated both protocol and cipher suites in ajax.py.
Then use result for response of CLI,
and manually show warning or exception by situation:
if there is "is not supported by the currently active RSA certificate" in result,
then show error message: "This ciphersuite is not supported by the currently active RSA certificate.".
if there is "Please make the supported SSL version match the cipher suites" in result,
I will check if there is the flag "has_update_protocol" first.
If there is "has_update_protocol", then we don't need to do anything.
If there is no "has_update_protocol", then we show warning message for CLI response.
Otherewize, if the result is not empty, show error message for CLI response.

Besides,
I found there is typo of TLSVv1.3,
so I fixed the split by comma issue.
you can check attachment for reference.


    Loading...