Update output message when certification verified fail

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2022-10-28 12:38:33 +08:00
parent ad9e99bd2e
commit c3a7fa386e

View file

@ -2240,7 +2240,10 @@ int main( int argc, char *argv[] )
" or you didn't set ca_file or ca_path " " or you didn't set ca_file or ca_path "
"to an appropriate value.\n" "to an appropriate value.\n"
" Alternatively, you may want to use " " Alternatively, you may want to use "
"auth_mode=optional for testing purposes.\n" ); "auth_mode=optional for testing purposes if "
"server is not TLS 1.3.\n"
" For TLS 1.3 server, try `ca_path=/etc/ssl/certs/`"
"or other folder that has root certificates\n" );
mbedtls_printf( "\n" ); mbedtls_printf( "\n" );
goto exit; goto exit;
} }