hello
i have to generate a request and sign it and
then verify the same. i have written code for it
and the result code for verification is -1 which
implies it is a error. i cannot understand why is
it so.
im attaching the code with mail so please find
time execute it
the code does the f
I wrote simple dll for Win32, that connect to webserver via HTTPS.
It work fine on Windows 9x, but failed on Windows NT,
The code look like this
for (;;) {
i=BIO_write(out,&(p[off]),len);
if (i <= 0)
{
if (BIO_should_retry(out))
{
the Java thread dump gives a lot of information unralted(I don't know
how to interprete it either). try to insert a lot of debug print in your
C code and find out exactly where it fails and check every return code
from the OpenSSL library calll, from there it is much easier to find the
problem..
_
ok finally no undefined symbol error..but jvm is crashing.
I think using a command shell to execute openssl might be a better
alternative!
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Success
si_code [0]: SI_USER [pid: 0, uid
Date sent: Thu, 29 Mar 2001 10:46:41 +0800
From: qun-ying <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject:Re: JAVA/JNI Wrapper for OpenSSL.
Send reply to: [EMAIL PROTECTED]
Yes, this normally is the result of including
From: Simos Xenitellis <[EMAIL PROTECTED]>
simos> p.s.
simos> Could someone put "bc: command not found" a bit higher in the FAQ? 8-}
I'm sure that those who actually bother to read the FAQ do find that
item. Also, consider that in the FAQ file foudn in the 0.9.5a
package, this item wan't (as fa
app_RAND_load_file() is not in the library. it is only a function used
in the openssl command tool. you can get the function definition in
apps/app_rand.c
__
OpenSSL Project http://www.openssl.org
U
I am using Redhat Linux 6.2 and OpenSSL-0.9.6
well I tried your suggestion but still it is giving undefine symbol:
app_RAND_load_file
thanks
-Original Message-
From: qun-ying [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 6:21 PM
To: [EMAIL PROTECTED]
Subject: Re: JAVA/JNI Wra
what platform/compiler are you running?
take note of the order you supply the library. move the -lcrypto to the
last of your link command may solve your problem.
__
OpenSSL Project http://www.opens
I wrote a JNI stub myx509.c and compiled it into a shared library.
But while running the java file I get UnsatisfiedLinkError: Undefined
symbol: app_RAND_load_file
The problem is I dont know which are the files to be put in the shared
library
or if there is any single archive file..I tried linkin
Does "openssl x509 -in cert.def -inform DER -text" work? If it fails too,
maybe you've got an invalid certificate.
> -Original Message-
> From: Natarajan Swaminathan [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 5:10 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EM
Please help!!!
I am trying to compile and install the most recent stable version of OpenSSL
with the RSAREF2.0 libs.
Everything configs fine with:
# gunzip -dc openssl-0.9.5a.tar.gz | tar xvf -
# cd openssl-0.9.x
# ./config --prefix=/usr/local/ssl -L`pwd`/../rsaref-2.0/local/rsaref -fPIC
Makes
On Wed, 28 Mar 2001, you wrote:
Ok I found the right log file and this is the output.
from mailog file
Mar 28 12:40:55 powell imapd[20508]: Command stream end of file, while reading line
user=??? host=powell2
Where does it get the user and host from ???
also why was imapd looking for
Yes, there are several utilities to view them:
$ ls /usr/local/bin/pod2*
/usr/local/bin/pod2html /usr/local/bin/pod2man
/usr/local/bin/pod2usage
/usr/local/bin/pod2latex /usr/local/bin/pod2text
They come with the perl distribution, I think.
Ron Hariski wrote:
>
> I notice all the documen
what platform r u trying this stuff... if windows using vc ur calling
application should support multi-threading. Use /MDd instead of /MLd.
-Original Message-
From: Dave Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 9:22 AM
To: [EMAIL PROTECTED]
Subject: Filling a X50
I'm having problems filling in an x509 structure from a DER encoded binary
certificate. Like the person who posted below, I'm getting a null x509
pointer whenever I call d2i_X509_fp(fp,&pX509). Please help.
Thanks,
Dave
>From: Aslam <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[E
On Wed, 28 Mar 2001, Hausermann Laurent wrote:
> Is there someone who knows a good up-to-date implementation of a JNI
> glue so you could access OpenSSL library through JAVA Classes (JCE or
> JSSE conformance should be great) ?
>
> I found through the www.openssl.org but it seems to be a bit old
you need to also add a blank line between the -- END RSA PRIVATE KEY -- and
the
-- BEGIN CERTIFICATE -- and a blank line at the end, as the stunnel docs
say.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Darrin Powell
> Sent: Wednesday, March
Hello,
As stated in the subject I am having problems with my compile. I did search the
FAQ and came up with nothing. I did search the archives and did discover and made
changes to the apps/speed.c file which got me quite a bit further down the compile
process.
Pasted below are my results from
On Wed, 28 Mar 2001, you wrote:
I think this will work for either
To convert a private key from PEM to DER format:
openssl rsa -in key.pem -outform DER -out keyout.der
>
> I would like to convert my der certificate(private key) into PEM format.
>
> Can somebody show me how can I do
On Wed, Mar 28, 2001 at 10:19:41AM -0500, Darrin Powell wrote:
> I did your comand to make the cert and the output for stunnel.pem the key
> part still looked encrypted ???
No, it is not encrypted. I did a
openssl rsa -in your_email -text
and happily could read all details about your pr
On Tue, 27 Mar 2001, you wrote:
I did your comand to make the cert and the output for stunnel.pem the key
part still looked encrypted ???
this is what stunnel.pem contained
after making it with the following command
openssl req -nodes -new -x509 -out stunnel.pem -keyout stunnel.pem -days
Hi,
Usually, one doesn't encrypt data with an RSA key. What is really
encrypted with an RSA is a secret key (generated at random). The secret
key is used to encrypt your data, using a symetric cipher (blowfish,
3DES, IDEA, whatever).
On Wed, 28 Mar 2001, Nathalie Furmento wrote:
> Hi!
>
> I am
"Hellan,Kim KHE" wrote:
>
> >>
> >> Well... actually there is no RSA_dup() either :-).. but the following
> >> should works as well:
> >>
> >> EVP_PKEY* pDupKey = EVP_PKEY_new();
> >> RSA* pRSA = EVP_PKEY_get1_RSA(pKey);
> >> EVP_PKEY_set1_RSA(pDupKey, pRSA);
> >> RSA_free(pRSA);
> >> re
Is there a a high-level OpenSSL function for dealing with the
digital signatures from the MSCrypto API in a PKCS7 blob?
__
OpenSSL Project http://www.openssl.org
User Support Mailing List
it is a perl documentation format, on linux you can use
perldoc
On other systems I don't know what tool you can use.
-Original Message-
From: Ron Hariski [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 7:19 AM
To: [EMAIL PROTECTED]
Subject: OPENSSL Documents
I notice all t
Hi!
I am using rsautl to encrypt some data, and i have a problem with the
size of the key. If i am using a key too small, the data will not
be encrypted. My problem is i do not know, in advance, the size of
the data i have to encrypt. So i would like to generate a key which
is available to encryp
I need to install OpenSsl in a Stratus system with
operating system VOS.
how I can do it ?
thanks
William Bolivar
[EMAIL PROTECTED]
__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
___
On Wed, 28 Mar 2001, Bodo Moeller wrote:
> > What was wrong?
>
> The version in OpenSSL 0.9.6 incorrectly assumed that the magic string
> was 4 bytes long (which is correct for the Apache variant ["apr1"],
> but not for the original scheme ["1"]).
I just tested the 0.9.6a-beta2, and
On Wed, Mar 28, 2001 at 11:48:31AM +, Paulo Matos wrote:
> Changes between 0.9.7 and 0.9.6 (from CVS)
> *) Fix 'openssl passwd -1'.
> [Bodo Moeller]
>
> Changes between 0.9.6 and 0.9.5a
> *) Add BSD-style MD5-based passwords to 'openssl passwd' (option '-1').
> [Bodo Moeller]
>
> What
Hi,
Is there someone who knows a good up-to-date implementation of a JNI
glue so you could access OpenSSL library through JAVA Classes (JCE or
JSSE conformance should be great) ?
I found through the www.openssl.org but it seems to be a bit old.
Is the project maintenair interrested in adding t
I notice all the documentation is in "pod" files what is this format and
is there a utility to view/print them.
begin:vcard
n:Hariski;Ron
x-mozilla-html:FALSE
org:Nortel Networks;Service Builder
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Systems Engineer
x-mozilla-cpt:;-16944
> I would like to convert my der certificate(private key) into PEM
> format.
openssl x509 -in cert.der -inform DER -out cert.pem
Best Regards,
Reiner.
--
--
--
Reiner Buehl Internet:
P.O. Box 100324
> In reality, what's happened is a fork, one being free (OpenSSL) and
> the other being commercial (SSL-C from RSA Security, Inc.).
Actually, you don't know that for sure -- it could have been a complete
rewrite. :) And it also sounds a little unfair to Eric and Tim;
"forking" can have strong ne
>>
>> Well... actually there is no RSA_dup() either :-).. but the following
>> should works as well:
>>
>> EVP_PKEY* pDupKey = EVP_PKEY_new();
>> RSA* pRSA = EVP_PKEY_get1_RSA(pKey);
>> EVP_PKEY_set1_RSA(pDupKey, pRSA);
>> RSA_free(pRSA);
>> return(pDupKey);
>>
>Well that will just end
"Hellan,Kim KHE" wrote:
>
>
>
>
> Well... actually there is no RSA_dup() either :-).. but the following
> should works as well:
>
> EVP_PKEY* pDupKey = EVP_PKEY_new();
> RSA* pRSA = EVP_PKEY_get1_RSA(pKey);
> EVP_PKEY_set1_RSA(pDupKey, pRSA);
> RSA_free(pRSA);
> return(pDupKey);
>
We
>>"Hellan,Kim KHE" wrote:
>>
>> I need to duplicate an EVP_PKEY. Is that possible?
>> There is an X509_dup(), but there is no EVP_PKEY_dup().
>>
>Ooops, I forgot about that.
I guess this means that this function will be in later versions of OpenSSL
:-)
>Alternatively you do something like...
Hi all,
I am trying to compile and install openSSL 0.9.6 on Solaris 2.6. The
compilation seems to be ok, but when I make install, at the end I get
this:
installing libcrypto.so
/work/local/bin/ranlib: /work/local/lib/libcrypto.so: File format not
recognizedinstalling libcrypto.so.0
/work/local/
I would like to convert my der certificate(private
key) into PEM format.
Can somebody show me how can I do this with
openssl?
Nat!
"Hellan,Kim KHE" wrote:
>
> I'm wrapping some OpenSSL functionality into C++ classes, and I have run
> into a slight problem.
> I need to duplicate an EVP_PKEY. Is that possible?
> There is an X509_dup(), but there is no EVP_PKEY_dup().
>
> I checked the mailing archives and 2000-02-12 (in OpenS
Nathalie Furmento wrote:
>
> Hi,
>
> I would like to know if openssl provides functions to
> encrypt and decrypt files with a DSA key. I saw the
> version 0.9.6 has a command rsautl to do some
> cryptography with RSA keys. And there is also the
> enc command, but this one does not seem to accept
Hi!
Looking at the ChangeLog
Changes between 0.9.7 and 0.9.6 (from CVS)
*) Fix 'openssl passwd -1'.
[Bodo Moeller]
Changes between 0.9.6 and 0.9.5a
*) Add BSD-style MD5-based passwords to 'openssl passwd' (option '-1').
[Bodo Moeller]
What was wrong?
in 'apps/passwd.c'
Hi!
Looking at the ChangeLog
Changes between 0.9.7 and 0.9.6 (from CVS)
*) Fix 'openssl passwd -1'.
[Bodo Moeller]
Changes between 0.9.6 and 0.9.5a
*) Add BSD-style MD5-based passwords to 'openssl passwd' (option '-1').
[Bodo Moeller]
What was wrong?
in 'apps/passwd.c'
Hi,
I would like to know if openssl provides functions to
encrypt and decrypt files with a DSA key. I saw the
version 0.9.6 has a command rsautl to do some
cryptography with RSA keys. And there is also the
enc command, but this one does not seem to accept
encryption with asymmetric keys.
Thanks
To answer my own question, (and if anyone else is interested in) the Mailing
List for Crypto API, please look at the announcement at:
http://www.inet-one.com/cypherpunks/dir.1996.04.18-1996.04.24/msg00131.html
I found this through a Google search just now.
Regards,
Sandipan
- Original Mess
I'm wrapping some OpenSSL functionality into C++ classes, and I have run
into a slight problem.
I need to duplicate an EVP_PKEY. Is that possible?
There is an X509_dup(), but there is no EVP_PKEY_dup().
I checked the mailing archives and 2000-02-12 (in OpenSSL-Users), Dr. Henson
answered the exac
From: [EMAIL PROTECTED]
Shobhit_Khanna> Would some knowledgeable person please clue me in as
Shobhit_Khanna> to the distinction between OpenSSL and SSLeay?
Shobhit_Khanna>
Shobhit_Khanna> OpenSSL appears to be the successor to SSLeay as
Shobhit_Khanna> there are no recent files on the SSLeay ft
I have the same query going on in mind for some time now.
would someone clarify please..
Shobhit
James <[EMAIL PROTECTED]> on 03/28/2001 05:00:18 AM
Please respond to [EMAIL PROTECTED]
48 matches
Mail list logo