Home
last modified time | relevance | path

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

/openssl/apps/
H A Dcrl2pkcs7.c22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
58 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local
153 certfile = sk_OPENSSL_STRING_value(certflst, i); in crl2pkcs7_main()
154 if (add_certs_from_file(cert_stack, certfile) < 0) { in crl2pkcs7_main()
196 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) in add_certs_from_file() argument
204 in = BIO_new_file(certfile, "r"); in add_certs_from_file()
206 BIO_printf(bio_err, "error opening the file, %s\n", certfile); in add_certs_from_file()
213 BIO_printf(bio_err, "error reading the file, %s\n", certfile); in add_certs_from_file()
H A Ds_time.c124 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; in s_time_main() local
162 certfile = opt_arg(); in s_time_main()
258 if (!set_cert_stuff(ctx, certfile, keyfile)) in s_time_main()
H A DCA.pl.in128 CA.pl -verify certfile ...
129 CA.pl -revoke certfile [reason]
H A Dsmime.c175 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; in smime_main() local
367 certfile = opt_arg(); in smime_main()
497 if (certfile != NULL) { in smime_main()
498 if (!load_certs(certfile, 0, &other, NULL, "certificates")) { in smime_main()
H A Dpkcs12.c164 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; in pkcs12_main() local
310 certfile = opt_arg(); in pkcs12_main()
406 if (certfile != NULL) in pkcs12_main()
652 if (certfile != NULL) { in pkcs12_main()
653 if (!load_certs(certfile, 0, &certs, passcerts, in pkcs12_main()
H A Dcms.c299 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; in cms_main() local
484 certfile = opt_arg(); in cms_main()
857 if (certfile != NULL) { in cms_main()
858 if (!load_certs(certfile, 0, &other, NULL, "certificate file")) { in cms_main()
H A Dca.c283 char *certfile = NULL, *crl_ext = NULL, *crlnumberfile = NULL; in ca_main() local
405 certfile = opt_arg(); in ca_main()
603 if (certfile == NULL in ca_main()
604 && (certfile = lookup_conf(conf, section, ENV_CERTIFICATE)) == NULL) in ca_main()
607 x509 = load_cert_pass(certfile, certformat, 1, passin, "CA certificate"); in ca_main()
/openssl/doc/man1/
H A Dopenssl-crl2pkcs7.pod.in16 [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 DCA.pl.pod28 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 Dopenssl-smime.pod.in22 [B<-certfile> I<file>]
182 only the certificates specified in the B<-certfile> option are used.
203 available locally (passed using the B<-certfile> option for example).
234 =item B<-certfile> I<file>
381 -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
H A Dopenssl-pkcs12.pod.in50 [B<-certfile> I<filename>]
263 =item B<-certfile> I<filename>
270 The password source for certificate input such as B<-certfile>
471 -certfile othercerts.pem
H A Dopenssl-cms.pod.in80 [B<-certfile> I<file>]
459 =item B<-certfile> I<file>
486 available locally (passed using the B<-certfile> option for example).
559 only the certificates specified in the B<-certfile> option are used.
804 -signer mycert.pem -inkey mykey.pem -certfile mycerts.pem
/openssl/test/
H A Dx509_test.c129 const char *certfile; in test_asn1_item_verify() local
137 if (!TEST_ptr(certfile = test_get_argument(0)) in test_asn1_item_verify()
138 || !TEST_ptr(bio = BIO_new_file(certfile, "r")) in test_asn1_item_verify()
H A Dquic_tserver_test.c25 static const char *certfile, *keyfile; variable
126 if (!TEST_ptr(tserver = ossl_quic_tserver_new(&tserver_args, certfile, in do_test()
427 if (!TEST_ptr(certfile = test_get_argument(0)) in setup_tests()
H A Dquic_multistream_test.c26 static const char *certfile, *keyfile; variable
756 if (!TEST_ptr(h->s_priv = ossl_quic_tserver_new(&s_args, certfile, keyfile))) in helper_init()
5964 if (!TEST_ptr(certfile = test_get_argument(0)) in setup_tests()
/openssl/util/
H A Dquicserver.c148 char *hostname, *port, *certfile, *keyfile; in main() local
191 certfile = argv[argnext++]; in main()
207 qtserv = ossl_quic_tserver_new(&tserver_args, certfile, keyfile); in main()
/openssl/ssl/quic/
H A Dquic_tserver.c80 const char *certfile, const char *keyfile) in ossl_quic_tserver_new() argument
108 if (certfile != NULL in ossl_quic_tserver_new()
109 && SSL_CTX_use_certificate_file(srv->ctx, certfile, SSL_FILETYPE_PEM) <= 0) in ossl_quic_tserver_new()
/openssl/test/helpers/
H A Dssltestlib.h26 char *certfile, char *privkeyfile);
H A Dquictestlib.h45 SSL_CTX *serverctx, char *certfile, char *keyfile,
H A Dssltestlib.c916 char *certfile, char *privkeyfile) in create_ssl_ctx_pair() argument
966 if (serverctx != NULL && certfile != NULL && privkeyfile != NULL) { in create_ssl_ctx_pair()
967 if (!TEST_int_eq(SSL_CTX_use_certificate_file(serverctx, certfile, in create_ssl_ctx_pair()
H A Dquictestlib.c126 SSL_CTX *serverctx, char *certfile, char *keyfile, in qtest_create_quic_objects() argument
314 if (!TEST_ptr(*qtserv = ossl_quic_tserver_new(&tserver_args, certfile, in qtest_create_quic_objects()
/openssl/apps/lib/
H A Ds_cb.c951 const char *certfile; member
1103 if (exc->certfile == NULL && exc->next == NULL) { in load_excert()
1109 if (exc->certfile == NULL) { in load_excert()
1113 exc->cert = load_cert(exc->certfile, exc->certform, in load_excert()
1121 exc->key = load_key(exc->certfile, exc->certform, in load_excert()
1157 if (exc->certfile != NULL && !ssl_excert_prepend(&exc)) { in args_excert()
1162 exc->certfile = opt_arg(); in args_excert()
/openssl/include/internal/
H A Dquic_tserver.h49 const char *certfile, const char *keyfile);
/openssl/doc/designs/quic-design/
H A Dquic-fault-injector.md216 SSL_CTX *serverctx, char *certfile, char *keyfile,
/openssl/
H A DCHANGES.md19952 * Add `openssl ca -revoke <certfile>` facility which revokes a certificate
19953 specified in `<certfile>` by updating the entry in the index.txt file.
20563 * Modify crl2pkcs7 so it supports multiple -certfile arguments. Fix a

Completed in 272 milliseconds