[Crypt::SSleay-0.22] Compile Problems on HPUX 11.00 64 bit arch

2001-03-08 Thread Brian Thomas
Greetings, I read through the instructions for installing Crypt-SSleay-0.22 which says that the OpenSSL OR SSLeay module must be installed before compiling the Crypt-SSleay-0.22 module.  I followed the instructions and successfully compiled the 'openssl-0.9.6' module on my HP server.  However, I

Re: How to get from self-signed CA PEM cert to DER/BER?

2001-03-08 Thread zgleaf
Scott Taggart£¬ÄúºÃ£¡ openssl x509 -req -in CAcert.pem -signkey CAkey.pem -out CA.crt -CAcreateserial ÔÚ 2001-03-05 15:13:00 ÄúдµÀ£º >I want to import my self-signed CA cert into NS/IE. I have created the CA >cert by doing: > >../openssl req -new -x509 -keyout CAkey.pem -out CAcert.pem > >I

RE: How do I construct an instance of RSA using n & e

2001-03-08 Thread Reddie, Steven
You got it. Call RSA_new() to allocate and initialize the RSA struct, the BN_bin2bn to generate the BIGNUM's. Something along the following lines should do it: RSA* rsa = RSA_new(); rsa->n = BN_bin2bn(modulus, modulus_size, NULL); rsa->e = BN_bin2bn(exponent, exponent_siz

Re: How do I construct an instance of RSA using n & e

2001-03-08 Thread Dr S N Henson
bruce cartland wrote: > > I have n (the public modulus) and e (the public exponent). No nicely > encoded data. Given those two values is there an API set to construct the > RSA (public key) structure? I'm guessing I'd have to create a BIGNUM first > then ..? Nothing obvious in rsa.h. Would it be

[Fwd: MARC: msg 'Crypt::SSLeay - session support?']

2001-03-08 Thread Xeno Campanoli
Say Andrew, Did you ever get this problem figured out?  I seem to be having a similar situation.  I try to do this negotiation which works just fine from netscape, but somehow, though for the first few steps the session ID stays the same, at one point I get a new session Id back to LWP and th

How do I construct an instance of RSA using n & e

2001-03-08 Thread bruce cartland
I have n (the public modulus) and e (the public exponent). No nicely encoded data. Given those two values is there an API set to construct the RSA (public key) structure? I'm guessing I'd have to create a BIGNUM first then ..? Nothing obvious in rsa.h. Would it be reasonable to create a new RSA s

RE: PLease help! Using LWP to check to see if Secure Server is r

2001-03-08 Thread Michael
> Sorry. This is not correct. LWP apparently doesn't > support HTTPS out of the box because of the complexities > associated with key exchanges and cert mgmt. A one or two line script + Net::SSLeay will allow you to test quite nicely. [EMAIL PROTECTED] __

Re: PLease help! Using LWP to check to see if Secure Server is running

2001-03-08 Thread ACroft
Might look at the LWP::SecureSocket module in the CPAN archives. I've never tried it, but from the description it work with what you're looking to do. "Varga, Jack" wrote: > Sorry. This is not correct. LWP apparently doesn't > support HTTPS out of the box because of the complexities > associat

RE: Apache 1.3.17 - mod_ssl.2.8.0 - openssl.0.9.6 Reverse Proxy SSL

2001-03-08 Thread De Taeye, Herman
Sorry, send one wrong file before. Best regards, Herman -Original Message- From: De Taeye, Herman Sent: Thursday, March 08, 2001 10:55 PM To: '[EMAIL PROTECTED]'; 'Openssl-Users (E-mail) Subject: RE: Apache 1.3.17 - mod_ssl.2.8.0 - openssl.0.9.6 Reverse Proxy SSL Hi, I am still strugg

RE: PLease help! Using LWP to check to see if Secure Server is ru nning

2001-03-08 Thread Varga, Jack
Sorry. This is not correct. LWP apparently doesn't support HTTPS out of the box because of the complexities associated with key exchanges and cert mgmt. > -Original Message- > From: Varga, Jack [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 08, 2001 2:39 PM > To: '[EMAIL PROTECTED

RE: PLease help! Using LWP to check to see if Secure Server is running

2001-03-08 Thread Varga, Jack
My guess is LWP by default sends requests to port 80. There must be a method to specify a different port... The request string where you specified the url... my $req = new HTTP::Request('GET', 'https://www.someserver.com'); ...just get's added the the http header inside the tcp payload and i

PLease help! Using LWP to check to see if Secure Server is running

2001-03-08 Thread Frank Belfie
use LWP::UserAgent; my $ua = new LWP::UserAgent; my $req = new HTTP::Request('GET', 'https://www.someserver.com'); my $res = $ua->request($req); print $res->code."\n"; The return code is always 501 with secure servers, and 200 with non-secure. Should this code work? I know the ssl s

Not getting a cipher from Silverstream server

2001-03-08 Thread carl . douglas
I have a client application that connects to a Silverstream server. The client previously worked with no problems when connecting to a Netscape Enterprise server. I am unable to get a cipher or certificate from the SilverStream server. I believe the server is using RC4. Code excerpts:

Re: What happened when certificate is revoked ?

2001-03-08 Thread Joseph Ashwood
You should not be able to use an expired/revoked certificate to successfully complete an SSL handshake. This actually occurs out of band, the certificate has the information in it for any individual to contact a server and verify the validity of it. However I know Microsoft utilities have a tenden

Re: SEQUENCE

2001-03-08 Thread Dr S N Henson
Antonio Ruiz Martínez wrote: > > Hello! > > I want to do this code, but I want to do it with the openSSL 0.9.6 > because with the > latest snapshot I can't do it. I can't get the static version of the > library for windows. > > typedef struct some_struct_st > { > ASN1_PRINTABLES

RE: make a ssl .pem cert

2001-03-08 Thread Greaney, Kevin
   Jim,        Try out this link.  I think you will find it useful.  If not, please  let me know.       http://www.openvms.compaq.com/openvms/products/ips/apache/csws_ssldoc.html    Kevin Greaney  OpenVMS Engineering  Compaq Computer Corp.   -Original Message-From: Jim Hibbits

SEQUENCE

2001-03-08 Thread Antonio Ruiz Martínez
Hello! I want to do this code, but I want to do it with the openSSL 0.9.6 because with the latest snapshot I can't do it. I can't get the static version of the library for windows. typedef struct some_struct_st { ASN1_PRINTABLESTRING * a; ASN1_PRINTABLESTRING * b;

newbee question on PEM_read_bio_RSA_PUBKEY

2001-03-08 Thread Reich, Stefan
Hi all, I'm trying to read a key from a file using PEM_read_bio_RSA_PUBKEY. Using openssl rsa -in privkey1.pem -text -inform PEM works fine. The following lines in my program result in "error loading key no start line" ERR_clear_error(); rsa = PEM_read_bio_RSA_PUBKEY(in,NULL,NULL,NULL);

Root certificate Revocation bug (serial number)

2001-03-08 Thread Evan Cross
Hi Guys, Heres one for you. When you create the root certificate with openssl it is given a serial number of 0. Every other root signed certificate (peer certs) is given a serial number of 0X where X is the next certificate number e.g. 01. The certificates signed by root can be revoked and

Re: Question about ASN.1

2001-03-08 Thread Dr S N Henson
Antonio Ruiz Martínez wrote: > > Hello! > > I'm confused, when must I use the structure ASN1_TYPE and when must > I use the structure ASN1_OBJECT? > They are completely different things. ASN1_OBJECT is an ASN1 OBJECT IDENTIFIER. ASN1_TYPE is a general type which can read in just about any

Compile static version of the latest snapshot

2001-03-08 Thread Antonio Ruiz Martínez
Hello! When compile the static version of the latest snapshot make -f ms\nt.mak I get the next error: .\crypto\des\spr.h(59) : warning C4273: 'des_SPtrans' : inconsistent dll linkage . dllexport assumed. NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. How Can I fix it? Thanks

revoking a root certificate.

2001-03-08 Thread Evan Cross
Is it possible to revoke a root certificate? I am having problems with this as my database (index.txt complains about the serial number being invalid. Cheers Evan Get your own zoom email - click here - http://www.zoom.co.uk/

Question about ASN.1

2001-03-08 Thread Antonio Ruiz Martínez
Hello! I'm confused, when must I use the structure ASN1_TYPE and when must I use the structure ASN1_OBJECT? Thanks for yours answers, regards, Antonio. -- -- Antonio Ruiz Martínez Facultad de Informática-Universidad de Murcia 30001 Murcia

off topic. re valloc

2001-03-08 Thread terr
www.gnu.org documents valloc as follows: Function: void * valloc (size_t size) Using valloc is like using memalign and passing the page size as the value of the second argument. It is implemented like this: void * valloc (size_t size) { return memalign (getpa