Searched refs:certfile (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/crypto/openssl/apps/
H A Dcrl2p7.c77 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
95 char *infile, *outfile, *prog, *certfile; local
137 } else if (strcmp(*argv, "-certfile") == 0) {
166 " -certfile arg certificates file of chain to a trusted CA\n");
169 " -nocrl no crl to load, just certs from '-certfile'\n");
232 certfile = sk_value(certflst, i);
233 if (add_certs_from_file(cert_stack, certfile) < 0) {
295 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile)
304 if ((stat(certfile, &st) != 0)) {
305 BIO_printf(bio_err, "unable to load the file, %s\n", certfile);
[all...]
H A Dverify.c284 static STACK_OF(X509) *load_untrusted(char *certfile)
296 if (!(in = BIO_new_file(certfile, "r"))) {
297 BIO_printf(bio_err, "error opening the file, %s\n", certfile);
303 BIO_printf(bio_err, "error reading the file, %s\n", certfile);
317 BIO_printf(bio_err, "no certificates in file, %s\n", certfile);
H A Dsmime.c94 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local
264 } else if (!strcmp(*args, "-certfile")) {
267 certfile = *args;
383 BIO_printf(bio_err, "-certfile file other certificates file\n");
496 if (certfile) {
497 if (!(other = load_certs(bio_err, certfile, FORMAT_PEM, NULL,
501 BIO_printf(bio_err, "Can't read certificate file %s\n", certfile);
H A DCA.sh150 $PKCS12 -in newcert.pem -inkey newreq.pem -certfile ${CATOP}/$CACERT \
H A Dcms.c111 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local
406 } else if (!strcmp(*args, "-certfile")) {
409 certfile = *++args;
543 BIO_printf(bio_err, "-certfile file other certificates file\n");
651 if (certfile) {
652 if (!(other = load_certs(bio_err, certfile, FORMAT_PEM, NULL,
H A Dpkcs12.c108 char *certfile = NULL; local
263 } else if (!strcmp(*args, "-certfile")) {
266 certfile = *args;
356 BIO_printf(bio_err, "-certfile f add all certs in f\n");
577 if (certfile) {
579 if (!(morecerts = load_certs(bio_err, certfile, FORMAT_PEM,
581 "certificates from certfile")))
589 CRYPTO_push_info("reading certs from certfile");
H A Dca.c273 char *certfile = NULL; local
411 certfile = *(++argv);
708 if ((certfile == NULL)
709 && ((certfile = NCONF_get_string(conf,
715 x509 = load_cert(bio_err, certfile, FORMAT_PEM, NULL, e,
/freebsd-9.3-release/crypto/openssl/demos/sign/
H A Dsign.c85 static char certfile[] = "cert.pem"; local
129 fp = fopen(certfile, "r");
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dtoken.l63 certfile { DP; return CERTFILE; }
/freebsd-9.3-release/crypto/heimdal/lib/hx509/data/
H A Dgen-req.sh118 -certfile ca.crt \
128 -certfile sub-ca-combined.crt \
141 -certfile ca.crt \
/freebsd-9.3-release/contrib/sendmail/src/
H A Dtls.c518 ** certfile -- filename of certificate
545 inittls(ctx, req, options, srv, certfile, keyfile, cacertpath, cacertfile, dhparam)
550 char *certfile, *keyfile, *cacertpath, *cacertfile, *dhparam;
602 if (certfile != NULL && (cf2 = strchr(certfile, ',')) != NULL)
614 TLS_OK_F(certfile, "CertFile", bitset(TLS_I_CERT_EX, req),
692 /* certfile etc. must be "safe". */
699 TLS_SAFE_F(certfile, sff | TLS_UNR(TLS_I_CERT_UNR, req),
870 SSL_CTX_use_certificate_file(*ctx, certfile,
877 who, certfile);
[all...]

Completed in 146 milliseconds