Reword the selftest warning message while verifying connection using operating system's default trust CA set.
Motivation and Context
If app.config doesn't specify cafile, it should establish a secure
connecton and trust the certificate that signed by a well known Issuer.
However, if cafile is not specified, the selftest complains about the
insecure connection, which is inaccurate.
How Has This Been Tested?
In app.config, keep cafile unchanged (or comment it out), and trigger selftest. It should warns "Only allows the connections that trusted by operating system" instead of "connection will not be secure"
[x] Either no new documentation is required by this change, OR I added new documentation
[x] Either no new tests are required by this change, OR I added new tests
[x] I have run pep8 and pylint. I have cleaned up all valid errors and warnings in code I have added or modified. These tools may generate false positives. Don't be worried about ignoring some errors or warnings. The goal is clean, consistent, and readable code.
Reword warning message in app selftest.
Description
Reword the selftest warning message while verifying connection using operating system's default trust CA set.
Motivation and Context
If app.config doesn't specify cafile, it should establish a secure connecton and trust the certificate that signed by a well known Issuer. However, if cafile is not specified, the selftest complains about the insecure connection, which is inaccurate.
How Has This Been Tested?
In app.config, keep
cafile
unchanged (or comment it out), and trigger selftest. It should warns "Only allows the connections that trusted by operating system" instead of "connection will not be secure"Checklist:
Signed-off-by: Raphanus Lo coldturnip@gmail.com