Adding a name to the certificate

2001-11-22 Thread Hylton Tregenza





Hi 

I trust that this is the correct place to ask development questions using openssl, not only developing openssl. Please refer if it is not.

I'm looking for what the parameters for X509_NAME_ENTRY_create_by_NID mean. I can see what they are in the source code but is there a site where the function(s) for creating a certificate is explained.

After a search on X509_NAME_ENTRY_create_by_NID using google, no reference to the open ssl site is returned (except the mail archives). Is this documented or am I using the incorrect function here

Hylton 





smime.p7s
Description: application/pkcs7-signature


InternetSeer Error Alert

2001-11-22 Thread InternetSeer
Title: InternetSeer - First On Error Alert

	
	
		
			

	
		
			
			
			
		
	

			
			
First On Error Alert
	Your Web site is on error
	URL: http://www.openssl.org/support/Time: Thu Nov 22 05:27:15 EST 2001, EST
	Error Type:  Time Out
	 For more information on this error visit our Error Information Page. If you have any questions please contact us at [EMAIL PROTECTED]


	
  


  
	
  

   	 			
  
  
Limited Time Offers for InternetSeer Subscribers
  
  


  
	
  

   
  
  

  
  
  

	
  
  

	
	  			
			
			
		
		
			
  NEW!
  
  Get Back Online ASAP with Internetseer’s  24/7 TECH SUPPORT
  
  Going beyond alerting you to a connectivity problem with your site, you can arrange for our technical support representatives to be on call around the clock to help your hosting provider diagnose and fix the problem.
  
  Special Introductory Offer!  You can have an entire year of InternetSeer’s 24/7Tech Support for as little as 27 cents a day!
  
  To learn more about this valuable 24/7 Tech Support service, please contact us at
  [EMAIL PROTECTED]. An InternetSeer Service Representative will contact you to review the service in detail.
			  
			  Cancel
			  If you no longer wish InternetSeer to monitor your Web site, reply to this email with Cancel in the subject line and leave a full copy of the report in the email.
			  
		  	  ##vq86&23fl841730&3D7&23b&6087=e1##

			
		
	


__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


InternetSeer Recovery

2001-11-22 Thread InternetSeer
Title: InternetSeer - Recovery Alert
Recovery AlertYour Web site is off errorURL: http://www.openssl.org/support/Time: Thu Nov 22 06:03:39 EST 2001, ESTTotal Time on error: 37 minutes, 19 secondsLogin and view your current Web site's performance report athttp://www.internetseer.com. If you have any questions please contact us at [EMAIL PROTECTED]
  

  

  

  

  

  

  
  
Limited Time Offers for InternetSeer Subscribers
  
  

  

  

  

  

  
  


  
  



  
  


  

  

  NEW!
  
  Get Back Online ASAP with Internetseer’s  24/7 TECH SUPPORT
  
  Going beyond alerting you to a connectivity problem with your site, you can arrange for our technical support representatives to be on call around the clock to help your hosting provider diagnose and fix the problem.
  
  Special Introductory Offer!  You can have an entire year of InternetSeer’s 24/7Tech Support for as little as 27 cents a day!
  
  To learn more about this valuable 24/7 Tech Support service, please contact us at
  [EMAIL PROTECTED]. An InternetSeer Service Representative will contact you to review the service in detail.
			  
   CancelIf you no longer wish InternetSeer to monitor your Web site, reply to this email with Cancel in the subject line and leave a full copy of the report in the email.##vq86&23fl841730&3D7&23b&6083=e1##
  

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


RE: Adding a name to the certificate

2001-11-22 Thread Hylton Tregenza



I have 
solvedthe problem. 



  -Original Message-From: Hylton Tregenza 
  Sent: 22 November 2001 11:17To: 
  [EMAIL PROTECTED]Subject: Adding a name to the 
  certificate
  Hi 
  I trust that this is the correct place 
  to ask development questions using openssl, not only developing openssl. 
  Please refer if it is not.
  I'm looking for what the parameters for X509_NAME_ENTRY_create_by_NID mean. I can see what 
  they are in the source code but is there a site where the function(s) for 
  creating a certificate is explained.
  After a search on 
  X509_NAME_ENTRY_create_by_NID using google, no reference to the open ssl site 
  is returned (except the mail archives). Is this documented or am I using the 
  incorrect function here
  Hylton 


smime.p7s
Description: application/pkcs7-signature


[PATCH] C-output for rsa command

2001-11-22 Thread Oscar Jacobsson

Just a quick hack to dump a private key to an unsigned char[]. Basically copied
and pasted the equivalent bit from x509.c. Seems to work ok (famous last words
aside.)

Cheers,

//oscar

diff -r1.31 rsa.c
82a83
  * -C   - print out C code forms
99c100
   int informat,outformat,text=0,check=0,noout=0;
---
   int informat,outformat,text=0,C=0,check=0,noout=0;
167a169,170
   else if (strcmp(*argv,-C) == 0)
   C=1;
199a203,205
 
   BIO_printf(bio_err, -C  print out C code forms\n);
 
315a322,350
 
   if (C)
 {
   int len = 0, iter = 0;
   unsigned char *buffer = 0;
 
   len = i2d_RSAPrivateKey(rsa, NULL);
   buffer = OPENSSL_malloc(len);
   i2d_RSAPrivateKey(rsa, buffer);
 
   buffer -= len;
 
   BIO_printf(out, unsigned char XXX_private_key[%d]={\n, len);
   for (iter = 0; iter  len; ++iter)
 {
   BIO_printf(out, 0x%02X,, buffer[iter]);
   if (0x0f == (iter  0x0f))
 {
   BIO_printf(out, \n);
 }
 }
   if (0 != (iter % 16))
 {
   BIO_printf(out, \n);
 }
   BIO_printf(out, };\n);
 
   OPENSSL_free(buffer);
 }
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Patch for req.c (+docs/apps/req.pod)

2001-11-22 Thread Massimiliano Pala

Hi,

this patch allows for public key structure retrivial when using the
'req' command. Following are the details:

Added Switch:
   o -pubkeyoutput public key

Fixes:
   o printing of using config file...  only if -verbose is used

Comments:
   The patch is indeed very simple and adds just the possiblity to
   have the public key printed out.

Let me know about the status of this patch, thanks.

-- 

C'you,

Massimiliano Pala

--o-
Massimiliano Pala [OpenCA Project Manager]  [EMAIL PROTECTED]
  [EMAIL PROTECTED]
 [EMAIL PROTECTED]
http://www.openca.orgTel.:   +39 (0)59  270  094
http://openca.sourceforge.netMobile: +39 (0)347 7222 365

--- req.c   Fri Nov  2 15:00:10 2001
+++ req.c.mod   Thu Nov 22 18:43:05 2001
@@ -106,6 +106,7 @@
  * -rand file(s) - load the file(s) into the PRNG.
  * -newkey - make a key and a request.
  * -modulus- print RSA modulus.
+ * -pubkey - print Public Key.
  * -x509   - output a self signed X509 structure instead.
  * -asn1-kludge- output new certificate request in a format that some CA's
  *   require.  This format is wrong
@@ -159,7 +160,7 @@
long newkey = -1;
BIO *in=NULL,*out=NULL;
int informat,outformat,verify=0,noout=0,text=0,keyform=FORMAT_PEM;
-   int nodes=0,kludge=0,newhdr=0,subject=0;
+   int nodes=0,kludge=0,newhdr=0,subject=0,pubkey=0;
char *infile,*outfile,*prog,*keyfile=NULL,*template=NULL,*keyout=NULL;
char *engine=NULL;
char *extensions = NULL;
@@ -218,6 +219,10 @@
if (--argc  1) goto bad;
keyfile= *(++argv);
}
+   else if (strcmp(*argv,-pubkey) == 0)
+   {
+   pubkey=1;
+   }
else if (strcmp(*argv,-new) == 0)
{
newreq=1;
@@ -412,6 +417,7 @@
BIO_printf(bio_err, -in arginput file\n);
BIO_printf(bio_err, -out arg   output file\n);
BIO_printf(bio_err, -text  text form of request\n);
+   BIO_printf(bio_err, -pubkeyoutput public key\n);
BIO_printf(bio_err, -noout do not output REQ\n);
BIO_printf(bio_err, -verifyverify signature on REQ\n);
BIO_printf(bio_err, -modulus   RSA modulus\n);
@@ -473,7 +479,8 @@
{
long errline;
 
-   BIO_printf(bio_err,Using configuration from %s\n,template);
+   if( verbose )
+   BIO_printf(bio_err,Using configuration from %s\n,template);
req_conf=NCONF_new(NULL);
i=NCONF_load(req_conf,template,errline);
if (i == 0)
@@ -485,7 +492,8 @@
else
{
req_conf=config;
-   BIO_printf(bio_err,Using configuration from %s\n,
+   if( verbose )
+   BIO_printf(bio_err,Using configuration from %s\n,
default_config_file);
if (req_conf == NULL)
{
@@ -922,7 +930,7 @@
BIO_printf(bio_err,verify OK\n);
}
 
-   if (noout  !text  !modulus  !subject)
+   if (noout  !text  !modulus  !subject  !pubkey)
{
ex=0;
goto end;
@@ -949,6 +957,20 @@
perror(outfile);
goto end;
}
+   }
+
+   if (pubkey)
+   {
+   EVP_PKEY *pkey; 
+   pkey=pkey=X509_REQ_get_pubkey(req);
+   if (pkey == NULL)
+   {
+   BIO_printf(bio_err,Error getting public key\n);
+   ERR_print_errors(bio_err);
+   goto end;
+   }
+   PEM_write_bio_PUBKEY( out, pkey);
+   EVP_PKEY_free(pkey);
}
 
if (text)


--- req.pod Thu Nov 22 18:38:33 2001
+++ req.pod.mod Thu Nov 22 18:38:14 2001
@@ -15,6 +15,7 @@
 [B-out filename]
 [B-passout arg]
 [B-text]
+[B-pubkey]
 [B-noout]
 [B-verify]
 [B-modulus]
@@ -86,6 +87,10 @@
 =item B-text
 
 prints out the certificate request in text form.
+
+=item B-pubkey
+
+prints out the public key structure.
 
 =item B-noout
 



smime.p7s
Description: S/MIME Cryptographic Signature


Your Web Site Performance Report

2001-11-22 Thread Kane at InternetSeer
Title: InternetSeer : Weekly Report
Your Weekly Web Site Performance ReportFor November 13, 2001 - November 19, 2001Dear openssl,Don't miss the opportunity to position your company above the competition with EnterURL or increase your sales this year with Infopia's solution to reach millions of online buyers. Both offer the best value for growing your SALES.See why many subscribers have chosen these company's services to promote and grow their businesses.Kane Bender, VP InternetSeer eBusiness Development TeamReach 250,000Search Engines and DirectoriesEnterURL Search Engine Positioning Service is the ultimate way to reach 85% of Internet users who utilize search engines to find products and services.Submit your site to an incredible 250,000 search engines and directoriesAnalyze your site in a direct side-by-side comparison with your competitorsOptimize your site for maximum traffic-building effectivenessMaximize Your Traffic!Sell To Millions ofTargeted Buyers!Whether you have 10 products or 10,000, Infopia's Marketplace Manager is the all-in-one solution you need to sell directly to millions of targeted online buyers.
Reach active buyers at eBay, Yahoo, MSN, Amazon and other high-traffic marketplacesAutomatically create customized product listings plus an online catalog -- and manage sales, orders and inventory all from one placeGet your products in front of millions of buyers by tomorrow!The Smart Way to Sell Onlinehttp://www.openssl.org/support/DayTueWedThuFriSatSunMonWeeklyTotalDate11/1311/1411/1511/1611/1711/1811/19Outages10011014Time on error07:2300:::3900:3800::4609:28% Uptime69.20100.0100.097.2597.31100.096.7894.36Connect time *0.320.410.380.476.901.029.262.68* Average in SecondsCustomer Service & Account Management InformationLog in at www.internetseer.com to keep your account up to date.Your login name is, [EMAIL PROTECTED]To make Changes to your account, such as to add or delete contact names and update contact information, simply log in.If you do not know your password, go to Get Your Password and enter your Login Name. We will email your password to you.If you have any questions regarding your Performance Reports, visit our help site, or email us at [EMAIL PROTECTED].We welcome your suggestions on how to provide you with the most relevant information to manage your business on line.
StatisticsNovember 12, 2001 -- eMarketer reports that online consumer spending for Q4 will increase over 20% from last year.User Favorites
Advanced Web Site MonitoringContact your customers easily with a holiday promotion or newsletterAccept Credit Cards on Your Web SiteFree Web Tools for Web MastersIncorporate Your Business OnlineHot OffersBreaking News and Critical Analysis for ITOracle Small Business Solutions: Free TrialResource for up-to-the-minute business and technology newsAdvertise Here: Reach 750,000 Online BusinessesIs Your Site Optimized for the Best Search Engine Ranking? Find OutThis weekly performance report was sent to [EMAIL PROTECTED]If you no longer wish to have InternetSeer monitor your Web site, reply to this email with Cancel in the subject line. Please leave a full copy of the report in the body of your reply email.
##vq86&23fl841730&3D7&23b&60877&3C=e1##



Re: [rejected as Spam - Money and Finance]

2001-11-22 Thread exim

Message rejected as SPAM by ANT Limited's mail filtering.
If you feel this rejection was a mistake then contact
[EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



If others do ...

2001-11-22 Thread Mel


So Can You!

Win at the races EVERY
time!

No kidding! 

(We've done it since 1992.)

To learn how 

Click here ...
http://www.freehi.com/pmo/races1.html



---
Removal: Click on
Reply and
Send. That's all. No comment
necessary. Deletion is automatic. Thanks.