Home
last modified time | relevance | path

Searched refs:certfile (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/share/examples/uefisign/
H A Duefikeys18 certfile="${1}.pem"
27 [ ! -e "${certfile}" ] || die "${certfile} already exists"
34 openssl req -new -x509 -sha256 -days "${days}" -subj "${subj}" -key "${keyfile}" -out "${certfile}"…
35 openssl x509 -inform PEM -outform DER -in "${certfile}" -out "${efifile}" || die "openssl x509 fail…
37 echo "certificate: ${certfile}; private key: ${keyfile}; certificate to enroll in UEFI: ${efifile}"
/freebsd-12.1/crypto/openssl/apps/
H A Dcrl2p7.c22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
50 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local
137 certfile = sk_OPENSSL_STRING_value(certflst, i); in crl2pkcs7_main()
138 if (add_certs_from_file(cert_stack, certfile) < 0) { in crl2pkcs7_main()
179 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) in add_certs_from_file() argument
187 in = BIO_new_file(certfile, "r"); in add_certs_from_file()
189 BIO_printf(bio_err, "error opening the file, %s\n", certfile); in add_certs_from_file()
196 BIO_printf(bio_err, "error reading the file, %s\n", certfile); in add_certs_from_file()
H A Ds_time.c98 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; in s_time_main() local
137 certfile = opt_arg(); in s_time_main()
205 if (!set_cert_stuff(ctx, certfile, keyfile)) in s_time_main()
H A Dsmime.c125 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; in smime_main() local
297 certfile = opt_arg(); in smime_main()
410 if (certfile != NULL) { in smime_main()
411 if (!load_certs(certfile, &other, FORMAT_PEM, NULL, in smime_main()
H A Ds_cb.c843 const char *certfile; member
992 if (exc->certfile == NULL && exc->next == NULL) { in load_excert()
998 if (exc->certfile == NULL) { in load_excert()
1002 exc->cert = load_cert(exc->certfile, exc->certform, in load_excert()
1010 exc->key = load_key(exc->certfile, exc->certform, in load_excert()
1047 if (exc->certfile != NULL && !ssl_excert_prepend(&exc)) { in args_excert()
1052 exc->certfile = opt_arg(); in args_excert()
H A Dpkcs12.c123 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL;
237 certfile = opt_arg();
395 if (certfile != NULL) {
396 if (!load_certs(certfile, &certs, FORMAT_PEM, NULL,
H A Dcms.c202 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; in cms_main() local
374 certfile = opt_arg(); in cms_main()
689 if (certfile != NULL) { in cms_main()
690 if (!load_certs(certfile, &other, FORMAT_PEM, NULL, in cms_main()
H A Dca.c242 char *certfile = NULL, *crl_ext = NULL, *crlnumberfile = NULL, *key = NULL; in ca_main() local
343 certfile = opt_arg(); in ca_main()
533 if (certfile == NULL in ca_main()
534 && (certfile = lookup_conf(conf, section, ENV_CERTIFICATE)) == NULL) in ca_main()
537 x509 = load_cert(certfile, FORMAT_PEM, "CA certificate"); in ca_main()
/freebsd-12.1/contrib/sendmail/src/
H A Dtls.c624 load_certkey(ssl, srv, certfile, keyfile)
627 char *certfile;
659 # define SSL_use_cert(ssl, certfile) \
664 SSL_use_cert(ssl, certfile) <= 0)
670 who, SSL_USE_CERT, certfile);
828 if (certfile != NULL && (cf2 = strchr(certfile, ',')) != NULL)
1101 # define SSL_CTX_use_cert(ssl_ctx, certfile) \
1102 SSL_CTX_use_certificate_chain_file(ssl_ctx, certfile)
1105 # define SSL_CTX_use_cert(ssl_ctx, certfile) \
1112 SSL_CTX_use_cert(*ctx, certfile) <= 0)
[all …]
H A Dreadcf.c2352 char *keyfile, *certfile; local
2362 keyfile = certfile = opt = val = NULL;
2510 certfile = val;
2526 if (keyfile != NULL && certfile != NULL)
2528 load_certkey(ssl, srv, certfile, keyfile);
2529 keyfile = certfile = NULL;
2531 else if (keyfile != NULL || certfile != NULL)
/freebsd-12.1/crypto/openssl/doc/man1/
H A Dcrl2pkcs7.pod16 [B<-certfile filename>]
55 =item B<-certfile filename>
73 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem
78 openssl crl2pkcs7 -nocrl -certfile newcert.pem
79 -certfile demoCA/cacert.pem -outform DER -out p7.der
H A DCA.pl.pod28 B<CA.pl> B<-verify> [B<-extra-verify> extra-params] B<certfile>...
30 B<CA.pl> B<-revoke> [B<-extra-ca> extra-params] B<certfile> [B<reason>]
109 =item B<-revoke certfile [reason]>
111 Revoke the certificate contained in the specified B<certfile>. An optional
H A Dsmime.pod53 [B<-certfile file>]
219 only the certificates specified in the B<-certfile> option are used.
240 available locally (passed using the B<-certfile> option for example).
267 =item B<-certfile file>
424 -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
H A Dpkcs12.pod15 [B<-certfile filename>]
195 =item B<-certfile filename>
378 -certfile othercerts.pem
H A Dcms.pod81 [B<-certfile file>]
318 only the certificates specified in the B<-certfile> option are used.
330 available locally (passed using the B<-certfile> option for example).
371 =item B<-certfile file>
626 -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
/freebsd-12.1/contrib/dma/
H A Dcrypto.c111 if (config.certfile != NULL) { in smtp_init_crypto()
112 error = init_cert_file(ctx, config.certfile); in smtp_init_crypto()
H A Ddma.h135 const char *certfile; member
H A Dconf.c200 config.certfile = data; in parse_conf()
H A Ddma.c83 .certfile = NULL,
/freebsd-12.1/contrib/openbsm/bin/auditdistd/
H A Dtoken.l61 certfile { DP; return CERTFILE; }
/freebsd-12.1/contrib/subversion/
H A Dwin-tests.py525 self.certfile = os.path.join(abs_builddir,
618 fp.write('SSLCertificateFile %s\n' % self._quote(self.certfile))
727 open(self.certfile, 'w').write(''.join(cert_file))
1044 ssl_cert = daemon.certfile
/freebsd-12.1/crypto/openssl/
H A DCHANGES12434 *) Add `openssl ca -revoke <certfile>' facility which revokes a certificate
12435 specified in <certfile> by updating the entry in the index.txt file.
12947 *) Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a