| /netbsd-src/external/ibm-public/postfix/dist/conf/ |
| H A D | postfix-tls-script | 701 certfile="${config_directory}/cert-${stamp}.pem";; 703 certfile="${config_directory}/eccert-${stamp}.pem";; 712 if [ -r "${certfile}" ]; then 713 $FATAL "New certificate file already exists: ${certfile}" 778 certfile=$1; shift 785 cd=`cert_pubkey_dgst "${certfile}"` || { 795 $FATAL "Certificate in ${certfile} does not match key in ${keyfile}" 801 "${cert_param} = ${certfile}" 828 create_cert "${keyfile}" "${certfile}" "$@" || return 1 830 deploy_server_cert "${certfile}" "${keyfile}" "${deploy}" || return 1 [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
| H A D | crl2pkcs7.c | 22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); 58 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local 152 certfile = sk_OPENSSL_STRING_value(certflst, i); in crl2pkcs7_main() 153 if (add_certs_from_file(cert_stack, certfile) < 0) { in crl2pkcs7_main() 195 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) in add_certs_from_file() argument 203 in = BIO_new_file(certfile, "r"); in add_certs_from_file() 205 BIO_printf(bio_err, "error opening the file, %s\n", certfile); in add_certs_from_file() 212 BIO_printf(bio_err, "error reading the file, %s\n", certfile); in add_certs_from_file()
|
| H A D | s_time.c | 124 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; in s_time_main() local 162 certfile = opt_arg(); in s_time_main() 259 if (!set_cert_stuff(ctx, certfile, keyfile)) in s_time_main()
|
| H A D | CA.pl.in | 126 CA.pl -verify certfile ... 127 CA.pl -revoke certfile [reason]
|
| H A D | pkcs12.c | 157 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; in pkcs12_main() local 287 certfile = opt_arg(); in pkcs12_main() 385 if (certfile != NULL) in pkcs12_main() 628 if (certfile != NULL) { in pkcs12_main() 629 if (!load_certs(certfile, 0, &certs, passcerts, in pkcs12_main()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | crl2p7.c | 22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); 50 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local 138 certfile = sk_OPENSSL_STRING_value(certflst, i); in crl2pkcs7_main() 139 if (add_certs_from_file(cert_stack, certfile) < 0) { in crl2pkcs7_main() 181 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) in add_certs_from_file() argument 189 in = BIO_new_file(certfile, "r"); in add_certs_from_file() 191 BIO_printf(bio_err, "error opening the file, %s\n", certfile); in add_certs_from_file() 198 BIO_printf(bio_err, "error reading the file, %s\n", certfile); in add_certs_from_file()
|
| H A D | s_time.c | 99 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; in s_time_main() local 138 certfile = opt_arg(); in s_time_main() 206 if (!set_cert_stuff(ctx, certfile, keyfile)) in s_time_main()
|
| H A D | smime.c | 125 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 D | s_cb.c | 852 const char *certfile; member 1002 if (exc->certfile == NULL && exc->next == NULL) { in load_excert() 1008 if (exc->certfile == NULL) { in load_excert() 1012 exc->cert = load_cert(exc->certfile, exc->certform, in load_excert() 1020 exc->key = load_key(exc->certfile, exc->certform, in load_excert() 1057 if (exc->certfile != NULL && !ssl_excert_prepend(&exc)) { in args_excert() 1062 exc->certfile = opt_arg(); in args_excert()
|
| H A D | pkcs12.c | 120 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; in pkcs12_main() local 234 certfile = opt_arg(); in pkcs12_main() 392 if (certfile != NULL) { in pkcs12_main() 393 if (!load_certs(certfile, &certs, FORMAT_PEM, NULL, in pkcs12_main()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | transport.c | 57 char *certfile; 110 return transport->tls.certfile; in dns_transport_get_keyfile() 164 dns_transport_set_certfile(dns_transport_t *transport, const char *certfile) { in dns_transport_set_certfile() 169 if (transport->tls.certfile != NULL) { in dns_transport_set_certfile() 170 isc_mem_free(transport->mctx, transport->tls.certfile); in dns_transport_set_certfile() 173 if (certfile != NULL) { 174 transport->tls.certfile = isc_mem_strdup(transport->mctx, 175 certfile); in dns_transport_set_keyfile() 638 if (transport->tls.certfile != NULL) { 639 isc_mem_free(transport->mctx, transport->tls.certfile); 52 char *certfile; global() member 159 dns_transport_set_certfile(dns_transport_t * transport,const char * certfile) dns_transport_set_certfile() argument [all...] |
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man1/ |
| H A D | openssl-crl2pkcs7.pod.in | 16 [B<-certfile> I<filename>] 54 =item B<-certfile> I<filename> 74 openssl crl2pkcs7 -in crl.pem -certfile cert.pem -out p7.pem 79 openssl crl2pkcs7 -nocrl -certfile newcert.pem 80 -certfile demoCA/cacert.pem -outform DER -out p7.der
|
| H A D | CA.pl.pod | 28 B<CA.pl> B<-verify> I<certfile> ... 30 B<CA.pl> B<-revoke> I<certfile> [I<reason>] 131 =item B<-revoke> I<certfile> [I<reason>] 133 Revoke the certificate contained in the specified B<certfile>. An optional
|
| H A D | openssl-smime.pod.in | 22 [B<-certfile> I<file>] 180 only the certificates specified in the B<-certfile> option are used. 201 available locally (passed using the B<-certfile> option for example). 232 =item B<-certfile> I<file> 378 -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/ |
| H A D | crl2pkcs7.pod | 16 [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 D | CA.pl.pod | 28 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
|
| /netbsd-src/usr.sbin/syslogd/ |
| H A D | tls.c | 153 const char *certfilename = tls_opt.certfile; in init_global_TLS_CTX() 161 FILE *certfile = NULL; in init_global_TLS_CTX() local 188 && !(certfile = fopen(certfilename, "r"))) { in init_global_TLS_CTX() 215 if (certfile) in init_global_TLS_CTX() 216 (void)fclose(certfile); in init_global_TLS_CTX() 591 FILE *certfile; in read_certfile() local 599 if (!(certfile = fopen(certfilename, "rb"))) { in read_certfile() 605 if (!(*cert = PEM_read_X509(certfile, NULL, NULL, NULL)) in read_certfile() 606 && !(*cert = d2i_X509_fp(certfile, NULL))) { in read_certfile() 609 (void)fclose(certfile); in read_certfile() [all …]
|
| H A D | tls.h | 138 char *certfile; /* filename of peer cert */ member
|
| /netbsd-src/external/ibm-public/postfix/dist/src/posttls-finger/ |
| H A D | posttls-finger.c | 488 char *certfile; /* TLS client certificate file */ member 803 cert_file = state->certfile, in starttls() 1801 myfree(state->certfile); in cleanup() 1864 cert_file = state->certfile, in tls_init() 1917 state->certfile = mystrdup(""); in parse_options() 1999 myfree(state->certfile); in parse_options() 2000 state->certfile = mystrdup(optarg); in parse_options() 2009 if (!*state->certfile) { in parse_options() 2010 myfree(state->certfile); in parse_options() 2011 state->certfile = mystrdup(optarg); in parse_options() [all …]
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/ |
| H A D | tls.h | 49 isc_tlsctx_createserver(const char *keyfile, const char *certfile, 53 * 'keyfile' and 'certfile', or a self-generated ephemeral key and 54 * certificdate if both 'keyfile' and 'certfile' are NULL. 58 *\li 'keyfile' and 'certfile' are either both NULL or both non-NULL. 72 const char *certfile); 78 *\li 'keyfile' and 'certfile' are both non-NULL.
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/data/ |
| H A D | gen-req.sh | 128 -certfile ca.crt \ 138 -certfile sub-ca-combined.crt \ 151 -certfile ca.crt \
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | tls.c | 338 const char *certfile) { in isc_tlsctx_createserver() 342 REQUIRE(certfile != NULL); in isc_tlsctx_createserver() 344 rv = SSL_CTX_use_certificate_chain_file(ctx, certfile); in isc_tlsctx_createserver() 353 certfile, errbuf); in isc_tlsctx_createserver() 372 isc_tlsctx_createserver(const char *keyfile, const char *certfile, in isc_tlsctx_createserver() 376 bool ephemeral = (keyfile == NULL && certfile == NULL); in isc_tlsctx_createserver() 390 REQUIRE((keyfile == NULL) == (certfile == NULL)); in isc_tlsctx_createserver() 560 result = isc_tlsctx_load_certificate(ctx, keyfile, certfile); in isc_tls_protocol_name_to_version() 274 isc_tlsctx_load_certificate(isc_tlsctx_t * ctx,const char * keyfile,const char * certfile) isc_tlsctx_load_certificate() argument 293 isc_tlsctx_createserver(const char * keyfile,const char * certfile,isc_tlsctx_t ** ctxp) isc_tlsctx_createserver() argument
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/test/ |
| H A D | ssltestlib.h | 17 SSL_CTX **sctx, SSL_CTX **cctx, char *certfile,
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/helpers/ |
| H A D | ssltestlib.h | 18 char *certfile, char *privkeyfile);
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/ |
| H A D | transport.h | 108 dns_transport_set_certfile(dns_transport_t *transport, const char *certfile); 146 * (for certfile, keyfile, cafile, or hostname).
|