Home | History | Annotate | Download | only in apps

Lines Matching refs:bio_err

170 	if (bio_err == NULL) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
172 if (!load_config(bio_err, NULL))
198 BIO_printf(bio_err,
219 BIO_printf(bio_err, "Error parsing URL\n");
374 BIO_printf(bio_err,
390 BIO_printf(bio_err,
440 issuer = load_cert(bio_err, *args, FORMAT_PEM,
452 cert = load_cert(bio_err, *args, FORMAT_PEM,
502 BIO_printf(bio_err,
520 BIO_printf(bio_err,
536 BIO_printf(bio_err,
583 BIO_printf (bio_err, "OCSP utility\n");
584 BIO_printf (bio_err, "Usage ocsp [options]\n");
585 BIO_printf (bio_err, "where options are\n");
586 BIO_printf (bio_err, "-out file output filename\n");
587 BIO_printf (bio_err, "-issuer file issuer certificate\n");
588 BIO_printf (bio_err, "-cert file certificate to check\n");
589 BIO_printf (bio_err, "-serial n serial number to check\n");
590 BIO_printf (bio_err, "-signer file certificate to sign OCSP request with\n");
591 BIO_printf (bio_err, "-signkey file private key to sign OCSP request with\n");
592 BIO_printf (bio_err, "-sign_other file additional certificates to include in signed request\n");
593 BIO_printf (bio_err, "-no_certs don't include any certificates in signed request\n");
594 BIO_printf (bio_err, "-req_text print text form of request\n");
595 BIO_printf (bio_err, "-resp_text print text form of response\n");
596 BIO_printf (bio_err, "-text print text form of request and response\n");
597 BIO_printf (bio_err, "-reqout file write DER encoded OCSP request to \"file\"\n");
598 BIO_printf (bio_err, "-respout file write DER encoded OCSP reponse to \"file\"\n");
599 BIO_printf (bio_err, "-reqin file read DER encoded OCSP request from \"file\"\n");
600 BIO_printf (bio_err, "-respin file read DER encoded OCSP reponse from \"file\"\n");
601 BIO_printf (bio_err, "-nonce add OCSP nonce to request\n");
602 BIO_printf (bio_err, "-no_nonce don't add OCSP nonce to request\n");
603 BIO_printf (bio_err, "-url URL OCSP responder URL\n");
604 BIO_printf (bio_err, "-host host:n send OCSP request to host on port n\n");
605 BIO_printf (bio_err, "-path path to use in OCSP request\n");
606 BIO_printf (bio_err, "-CApath dir trusted certificates directory\n");
607 BIO_printf (bio_err, "-CAfile file trusted certificates file\n");
608 BIO_printf (bio_err, "-VAfile file validator certificates file\n");
609 BIO_printf (bio_err, "-validity_period n maximum validity discrepancy in seconds\n");
610 BIO_printf (bio_err, "-status_age n maximum status age in seconds\n");
611 BIO_printf (bio_err, "-noverify don't verify response at all\n");
612 BIO_printf (bio_err, "-verify_other file additional certificates to search for signer\n");
613 BIO_printf (bio_err, "-trust_other don't verify additional certificates\n");
614 BIO_printf (bio_err, "-no_intern don't search certificates contained in response for signer\n");
615 BIO_printf (bio_err, "-no_signature_verify don't check signature on response\n");
616 BIO_printf (bio_err
617 BIO_printf (bio_err, "-no_chain don't chain verify response\n");
618 BIO_printf (bio_err, "-no_cert_checks don't do additional checks on signing certificate\n");
619 BIO_printf (bio_err, "-port num port to run responder on\n");
620 BIO_printf (bio_err, "-index file certificate status index file\n");
621 BIO_printf (bio_err, "-CA file CA certificate\n");
622 BIO_printf (bio_err, "-rsigner file responder certificate to sign responses with\n");
623 BIO_printf (bio_err, "-rkey file responder key to sign responses with\n");
624 BIO_printf (bio_err, "-rother file other certificates to include in response\n");
625 BIO_printf (bio_err, "-resp_no_certs don't include any certificates in response\n");
626 BIO_printf (bio_err, "-nmin n number of minutes before next update\n");
627 BIO_printf (bio_err, "-ndays n number of days before next update\n");
628 BIO_printf (bio_err, "-resp_key_id identify reponse by signing certificate key ID\n");
629 BIO_printf (bio_err, "-nrequest n number of requests to accept (default unlimited)\n");
630 BIO_printf (bio_err, "-<dgst alg> use specified digest in the request\n");
639 BIO_printf(bio_err, "Error opening output file\n");
650 BIO_printf(bio_err, "Error Opening OCSP request file\n");
657 BIO_printf(bio_err, "Error reading OCSP request\n");
672 rsigner = load_cert(bio_err, rsignfile, FORMAT_PEM,
676 BIO_printf(bio_err, "Error loading responder certificate\n");
679 rca_cert = load_cert(bio_err, rca_filename, FORMAT_PEM,
683 rother = load_certs(bio_err, rcertfile, FORMAT_PEM,
687 rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, 0, NULL, NULL,
693 BIO_printf(bio_err, "Waiting for OCSP client connections...\n");
711 BIO_printf(bio_err, "Need an OCSP request for this operation!\n");
720 signer = load_cert(bio_err, signfile, FORMAT_PEM,
724 BIO_printf(bio_err, "Error loading signer certificate\n");
729 sign_other = load_certs(bio_err, sign_certfile, FORMAT_PEM,
733 key = load_key(bio_err, keyfile, FORMAT_PEM, 0, NULL, NULL,
740 BIO_printf(bio_err, "Error signing OCSP request\n");
752 BIO_printf(bio_err, "Error opening file %s\n", reqout);
761 BIO_printf(bio_err, "Need a responder certificate, key and CA for this operation!\n");
781 resp = process_responder(bio_err, req, host, path,
786 BIO_printf(bio_err, "Error creating connect BIO - sockets not supported.\n");
795 BIO_printf(bio_err, "Error Opening OCSP response file\n");
802 BIO_printf(bio_err, "Error reading OCSP response\n");
820 BIO_printf(bio_err, "Error opening file %s\n", respout);
861 store = setup_verify(bio_err, CAfile, CApath);
866 verify_other = load_certs(bio_err, verify_certfile, FORMAT_PEM,
875 BIO_printf(bio_err, "Error parsing response\n");
884 BIO_printf(bio_err, "WARNING: no nonce in response\n");
887 BIO_printf(bio_err, "Nonce Verify error\n");
897 BIO_printf(bio_err, "Response Verify Failure\n");
898 ERR_print_errors(bio_err);
901 BIO_printf(bio_err, "Response verify OK\n");
911 ERR_print_errors(bio_err);
949 BIO_printf(bio_err, "No issuer certificate specified\n");
960 BIO_printf(bio_err, "Error Creating OCSP request\n");
973 BIO_printf(bio_err, "No issuer certificate specified\n");
983 BIO_printf(bio_err, "Error converting serial number %s\n", serial);
993 BIO_printf(bio_err, "Error Creating OCSP request\n");
1198 BIO_printf(bio_err, "Error setting up accept BIO - sockets not supported.\n");
1207 BIO_printf(bio_err, "Error setting up accept BIO\n");
1208 ERR_print_errors(bio_err);
1229 BIO_printf(bio_err, "Error accepting connection\n");
1230 ERR_print_errors(bio_err);
1247 BIO_printf(bio_err, "Invalid request\n");
1263 BIO_printf(bio_err, "Error parsing OCSP request\n");
1264 ERR_print_errors(bio_err);
1422 BIO_printf(bio_err, "Error querying OCSP responder\n");