Lines Matching defs:crt_file
182 " crt_file=%%s Your own cert and chain (in bottom to top order, top may be omitted)\n" \
190 " note: if neither crt_file/key_file nor crt_file2/key_file2 are used,\n" \
617 const char *crt_file; /* the file with the server certificate */
794 char *crt_file, *key_file, *ca_file, *auth_str;
811 GET_ITEM(crt_file);
827 if (mbedtls_x509_crt_parse_file(new->cert, crt_file) != 0 ||
1695 opt.crt_file = DFL_CRT_FILE;
1888 } else if (strcmp(p, "crt_file") == 0) {
1889 opt.crt_file = q;
2621 if (strlen(opt.crt_file) && strcmp(opt.crt_file, "none") != 0) {
2623 if ((ret = mbedtls_x509_crt_parse_file(&srvcert, opt.crt_file)) != 0) {
2639 mbedtls_printf(" failed\n ! crt_file without key_file or vice-versa\n\n");
2666 strcmp(opt.crt_file, "none") != 0 &&