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
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
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
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
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
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
> 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]
__
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
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
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
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
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
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:
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
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
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
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;
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);
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
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
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
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/
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
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
24 matches
Mail list logo