Lines Matching refs:bio_err
338 if (bio_err == NULL)
339 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
340 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
543 BIO_printf(bio_err,"unknown option %s\n",*argv);
554 BIO_printf(bio_err,"%s",*pp);
583 BIO_printf(bio_err,"Using configuration from %s\n",configfile);
588 BIO_printf(bio_err,"error loading the config file '%s'\n",
591 BIO_printf(bio_err,"error on line %ld of config file '%s'\n"
601 if (!load_config(bio_err, conf))
605 e = setup_engine(bio_err, engine, 0);
632 BIO_printf(bio_err,"problems opening %s for extra oid's\n",p);
633 ERR_print_errors(bio_err);
643 if (!add_oid_section(bio_err,conf))
645 ERR_print_errors(bio_err);
653 app_RAND_load_file(randfile, bio_err, 0);
660 BIO_printf(bio_err, "Invalid global string mask setting %s\n", f);
677 BIO_printf(bio_err, "DEBUG: unique_subject = \"%s\"\n", p);
685 BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p);
688 BIO_printf(bio_err, "DEBUG: configured unique_subject is %d\n",
698 ERR_print_errors(bio_err);
717 BIO_printf(bio_err,"Error verifying serial %s!\n",
734 if (!app_passwd(bio_err, passargin, NULL, &key, NULL))
736 BIO_printf(bio_err,"Error getting password\n");
740 pkey = load_key(bio_err, keyfile, keyform, 0, key, e,
760 x509=load_cert(bio_err, certfile, FORMAT_PEM, NULL, e,
767 BIO_printf(bio_err,"CA certificate and CA private key do not match\n");
790 BIO_printf(bio_err, "Invalid name options: \"%s\"\n", f);
804 BIO_printf(bio_err, "Invalid certificate options: \"%s\"\n", f);
818 BIO_printf(bio_err, "Invalid extension copy option: \"%s\"\n", f);
834 BIO_printf(bio_err,"there needs to be defined a directory for new certificate to be placed in\n");
850 BIO_printf(bio_err,"I am unable to access the %s directory\n",outdir);
857 BIO_printf(bio_err,"unable to stat(%s)\n",outdir);
864 BIO_printf(bio_err,"%s need to be a directory\n",outdir);
889 BIO_printf(bio_err,"entry %d: not revoked yet, but has a revocation date\n",i+1);
895 BIO_printf(bio_err," in entry %d\n", i+1);
900 BIO_printf(bio_err,"entry %d: invalid expiry date\n",i+1);
912 BIO_printf(bio_err,"entry %d: bad serial number length (%d)\n",i+1,j);
921 BIO_printf(bio_err,"entry %d: bad serial number characters, char pos %ld, char is '%c'\n",i+1,(long)(p-pp[DB_serial]),*p);
937 BIO_printf(bio_err,"%d entries loaded from the database\n",
939 BIO_printf(bio_err,"generating index\n");
949 BIO_printf(bio_err, "Updating %s ...\n",
955 BIO_printf(bio_err,"Malloc failure\n");
960 if (verbose) BIO_printf(bio_err,
969 if (verbose) BIO_printf(bio_err,
982 BIO_printf(bio_err, "ERROR: loading the config file '%s'\n",
985 BIO_printf(bio_err, "ERROR: on line %ld of config file '%s'\n",
992 BIO_printf(bio_err, "Successfully loaded extensions file %s\n", extfile);
1031 BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);
1044 BIO_printf(bio_err,"message digest is %s\n",
1053 BIO_printf(bio_err,"policy is %s\n",policy);
1082 BIO_printf(bio_err,
1100 BIO_printf(bio_err,"start date is invalid, it should be YYMMDDHHMMSSZ\n");
1114 BIO_printf(bio_err,"end date is invalid, it should be YYMMDDHHMMSSZ\n");
1125 BIO_printf(bio_err,"cannot lookup how many days to certify for\n");
1131 BIO_printf(bio_err,"error while loading serial number\n");
1137 BIO_printf(bio_err,"next serial number is 00\n");
1141 BIO_printf(bio_err,"next serial number is %s\n",f);
1148 BIO_printf(bio_err,"unable to find 'section' for %s\n",policy);
1154 BIO_printf(bio_err,"Memory allocation failure\n");
1167 BIO_printf(bio_err,"\n");
1171 BIO_printf(bio_err,"Memory allocation failure\n");
1192 BIO_printf(bio_err,"\n");
1196 BIO_printf(bio_err,"Memory allocation failure\n");
1212 BIO_printf(bio_err,"\n");
1216 BIO_printf(bio_err,"Memory allocation failure\n");
1232 BIO_printf(bio_err,"\n");
1236 BIO_printf(bio_err,"Memory allocation failure\n");
1249 BIO_printf(bio_err,"\n%d out of %d certificate requests certified, commit? [y/n]",total_done,total);
1250 (void)BIO_flush(bio_err);
1255 BIO_printf(bio_err,"CERTIFICATION CANCELED\n");
1261 BIO_printf(bio_err,"Write out database with %d new entries\n",sk_X509_num(cert_sk));
1269 BIO_printf(bio_err,"writing new certificates\n");
1282 BIO_printf(bio_err,"certificate file name too long\n");
1313 BIO_printf(bio_err,"writing %s\n",buf[2]);
1331 BIO_printf(bio_err,"Data Base Updated\n");
1353 BIO_printf(bio_err,
1365 BIO_printf(bio_err,"error while loading CRL number\n");
1380 BIO_printf(bio_err,"cannot lookup how long until the next CRL is issued\n");
1384 if (verbose) BIO_printf(bio_err,"making CRL\n");
1424 if (verbose) BIO_printf(bio_err,"signing CRL\n");
1479 BIO_printf(bio_err,"no input files\n");
1485 revcert=load_cert(bio_err, infile, FORMAT_PEM,
1497 BIO_printf(bio_err,"Data Base Updated\n");
1513 if (ret) ERR_print_errors(bio_err);
1514 app_RAND_write_file(randfile, bio_err);
1531 BIO_printf(bio_err,"variable lookup failed for %s::%s\n",name,tag);
1555 BIO_printf(bio_err,"Error reading certificate request in %s\n",
1560 X509_REQ_print(bio_err,req);
1562 BIO_printf(bio_err,"Check that the request matches the signature\n");
1566 BIO_printf(bio_err,"Certificate request and CA private key do not match\n");
1572 BIO_printf(bio_err,"error unpacking public key\n");
1580 BIO_printf(bio_err,"Signature verification problems....\n");
1586 BIO_printf(bio_err,"Signature did not match the certificate request\n");
1590 BIO_printf(bio_err,"Signature ok\n");
1614 if ((req=load_cert(bio_err, infile, FORMAT_PEM, NULL, e, infile)) == NULL)
1617 X509_print(bio_err,req);
1619 BIO_printf(bio_err,"Check that the request matches the signature\n");
1623 BIO_printf(bio_err,"error unpacking public key\n");
1631 BIO_printf(bio_err,"Signature verification problems....\n");
1637 BIO_printf(bio_err,"Signature did not match the certificate\n");
1641 BIO_printf(bio_err,"Signature ok\n");
1682 BIO_printf(bio_err,"malloc error\n");
1695 ERR_print_errors(bio_err);
1704 BIO_printf(bio_err,"The Subject's Distinguished Name is as follows\n");
1738 BIO_printf(bio_err,"\nemailAddress type needs to be of type IA5STRING\n");
1749 BIO_printf(bio_err,"\nThe string contains characters that are illegal for the ASN.1 type\n");
1755 old_entry_print(bio_err, obj, str);
1761 BIO_printf(bio_err,"Memory allocation failure\n");
1778 BIO_printf(bio_err,"%s:unknown object type in 'policy' configuration\n",cv->name);
1810 BIO_printf(bio_err,"The %s field needed to be supplied and was missing\n",cv->name);
1822 BIO_printf(bio_err,"The mandatory %s field was missing\n",cv->name);
1832 BIO_printf(bio_err,"The %s field does not exist in the CA certificate,\nthe 'policy' is misconfigured\n",cv->name);
1846 BIO_printf(bio_err,"The %s field needed to be the same in the\nCA certificate (%s) and the request (%s)\n",cv->name,((str2 == NULL)?"NULL":(char *)str2->data),((str == NULL)?"NULL":(char *)str->data));
1852 BIO_printf(bio_err,"%s:invalid type in 'policy' configuration\n",cv->value);
1862 BIO_printf(bio_err,"Memory allocation failure\n");
1879 BIO_printf(bio_err,"The subject name appears to be ok, checking data base for clashes\n");
1894 BIO_printf(bio_err,"Memory allocation failure\n");
1912 BIO_printf(bio_err,"Memory allocation failure\n");
1921 BIO_printf(bio_err,
1931 BIO_printf(bio_err,"ERROR:Serial number %s has already been issued,\n",
1933 BIO_printf(bio_err," check the database/serial_file for corruption\n");
1939 BIO_printf(bio_err,
1949 BIO_printf(bio_err,"Type :%s\n",p);;
1953 BIO_printf(bio_err,"Was revoked on:%s\n",p);
1956 BIO_printf(bio_err,"Expires on :%s\n",p);
1958 BIO_printf(bio_err,"Serial Number :%s\n",p);
1960 BIO_printf(bio_err,"File name :%s\n",p);
1962 BIO_printf(bio_err,"Subject Name :%s\n",p);
1969 BIO_printf(bio_err,"Everything appears to be ok, creating and signing the certificate\n");
2033 BIO_printf(bio_err, "Extra configuration file found\n");
2044 BIO_printf(bio_err,
2047 ERR_print_errors(bio_err);
2051 BIO_printf(bio_err, "Successfully added extensions from file.\n");
2060 BIO_printf(bio_err, "ERROR: adding extensions in section %s\n", ext_sect);
2061 ERR_print_errors(bio_err);
2066 BIO_printf(bio_err, "Successfully added extensions from config\n");
2074 BIO_printf(bio_err, "ERROR: adding extensions from request\n");
2075 ERR_print_errors(bio_err);
2087 BIO_printf(bio_err, "Certificate Details:\n");
2090 X509_print_ex(bio_err, ret, nameopt, certopt);
2093 BIO_printf(bio_err,"Certificate is to be certified until ");
2094 ASN1_UTCTIME_print(bio_err,X509_get_notAfter(ret));
2095 if (days) BIO_printf(bio_err," (%ld days)",days);
2096 BIO_printf(bio_err, "\n");
2101 BIO_printf(bio_err,"Sign the certificate? [y/n]:");
2102 (void)BIO_flush(bio_err);
2107 BIO_printf(bio_err,"CERTIFICATE WILL NOT BE CERTIFIED\n");
2153 BIO_printf(bio_err,"Memory allocation failure\n");
2162 BIO_printf(bio_err,"Memory allocation failure\n");
2175 BIO_printf(bio_err,"failed to update database\n");
2176 BIO_printf(bio_err,"TXT_DB error number %ld\n",db->db->error);
2254 BIO_printf(bio_err,"error on line %ld of %s\n",errline,infile);
2255 ERR_print_errors(bio_err);
2262 BIO_printf(bio_err, "no name/value pairs found in %s\n", infile);
2277 ERR_print_errors(bio_err);
2312 BIO_printf(bio_err,"unable to load Netscape SPKAC structure\n");
2313 ERR_print_errors(bio_err);
2328 BIO_printf(bio_err,
2342 BIO_printf(bio_err,"Netscape SPKAC structure not found in %s\n",
2351 BIO_printf(bio_err,"Check that the SPKAC request matches the signature\n");
2355 BIO_printf(bio_err,"error unpacking SPKAC public key\n");
2362 BIO_printf(bio_err,"signature verification failed on SPKAC public key\n");
2365 BIO_printf(bio_err,"Signature ok\n");
2425 BIO_printf(bio_err,"Memory allocation failure\n");
2434 BIO_printf(bio_err,"Adding Entry with serial number %s to DB for %s\n", row[DB_serial], row[DB_name]);
2454 BIO_printf(bio_err,"Memory allocation failure\n");
2463 BIO_printf(bio_err,"Memory allocation failure\n");
2476 BIO_printf(bio_err,"failed to update database\n");
2477 BIO_printf(bio_err,"TXT_DB error number %ld\n",db->db->error);
2489 BIO_printf(bio_err,"ERROR:name does not match %s\n",
2495 BIO_printf(bio_err,"ERROR:Already revoked, serial number %s\n",
2501 BIO_printf(bio_err,"Revoking Certificate %s.\n", rrow[DB_serial]);
2505 BIO_printf(bio_err, "Error in revocation arguments\n");
2535 BIO_printf(bio_err,"Malloc failure\n");
2566 BIO_printf(bio_err,"Serial %s not present in db.\n",
2573 BIO_printf(bio_err,"%s=Valid (%c)\n",
2579 BIO_printf(bio_err,"%s=Revoked (%c)\n",
2585 BIO_printf(bio_err,"%s=Expired (%c)\n",
2591 BIO_printf(bio_err,"%s=Suspended (%c)\n",
2597 BIO_printf(bio_err,"%s=Unknown (%c).\n",
2657 BIO_printf(bio_err, "%s=Expired\n",
2667 BIO_printf(bio_err, "%s=Expired\n",
2731 BIO_printf(bio_err, "Unknown CRL reason %s\n", rev_arg);
2744 BIO_printf(bio_err, "Invalid object identifier %s\n", rev_arg);
2758 BIO_printf(bio_err, "Invalid time format %s. Need YYYYMMDDHHMMSSZ\n", rev_arg);
2931 BIO_printf(bio_err, "invalid revocation date %s\n", rtime_str);
2947 BIO_printf(bio_err, "invalid reason code %s\n", reason_str);
2957 BIO_printf(bio_err, "missing hold instruction\n");
2965 BIO_printf(bio_err, "invalid object identifier %s\n", arg_str);
2974 BIO_printf(bio_err, "missing compromised time\n");
2980 BIO_printf(bio_err, "invalid compromised time %s\n", arg_str);