* openssl
@ 2003-03-12 16:11 Eli Brin
2003-03-12 16:55 ` openssl Roland Dreier
2003-03-12 19:42 ` openssl Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: Eli Brin @ 2003-03-12 16:11 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hello,
We are working with ELDK 2.0.2, target - TQM860L
We are trying to work with openssl, and we have the following problems:
1. Trying to create a certificate using the CA script gives us the
following error:
>sh-2.05$ ./CA -newca
>CA certificate filename (or enter to create)
>Making CA certificate ...
>Using configuration from /usr/share/ssl/openssl.cnf
>unable to load 'random state'
>This means that the random number generator has not been seeded
>with much random data.
>Generating a 1024 bit RSA private key
>403:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_
>rand.c:492:You need to read the OpenSSL FAQ,
http://www.openssl.org/support/faq.
We don't have the /dev/random and /dev/urandom. How do we create them -
mknod?
2. Using pem files created on a Redhat Linux machine gives us an error on
the function:
ssl_ctx_use_certificate_chain_file.
Should we create the pem files on our target or those created with Redhat
are OK?
Our application works OK with openssl on RH8.0 and RH7.3.
Has anyone worked successfully with openssl on ppc_8xx?
Thank you,
Eli Brin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: openssl
2003-03-12 16:11 openssl Eli Brin
@ 2003-03-12 16:55 ` Roland Dreier
2003-03-12 19:47 ` openssl Wolfgang Denk
2003-03-12 19:42 ` openssl Wolfgang Denk
1 sibling, 1 reply; 5+ messages in thread
From: Roland Dreier @ 2003-03-12 16:55 UTC (permalink / raw)
To: Eli Brin; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
Eli> We don't have the /dev/random and /dev/urandom. How do we
Eli> create them - mknod?
Yes,
mknod /dev/random c 1 8
mknod /dev/urandom c 1 9
is all you need to do.
- Roland
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: openssl
2003-03-12 16:11 openssl Eli Brin
2003-03-12 16:55 ` openssl Roland Dreier
@ 2003-03-12 19:42 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-03-12 19:42 UTC (permalink / raw)
To: Eli Brin; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
In message <75DF04AC5ED4D511A9810090273CB41661519B@ROKONET-E> you wrote:
>
> We are working with ELDK 2.0.2, target - TQM860L
...
> We don't have the /dev/random and /dev/urandom. How do we create them -
> mknod?
it's not that trrivial. Normally, many sources of "ramdomness" are
used to generate input for the random device, like key presses on the
keyboard, mouse movements, etc. Most of this is simply not available
in an embedded system. You will have to tweak this a bit...
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
I have a theory that it's impossible to prove anything, but I can't
prove it.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: openssl
2003-03-12 16:55 ` openssl Roland Dreier
@ 2003-03-12 19:47 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-03-12 19:47 UTC (permalink / raw)
To: Roland Dreier; +Cc: Eli Brin, 'linuxppc-embedded@lists.linuxppc.org'
In message <52r89cwmlv.fsf@topspin.com> you wrote:
>
> Eli> We don't have the /dev/random and /dev/urandom. How do we
> Eli> create them - mknod?
>
> Yes,
>
> mknod /dev/random c 1 8
> mknod /dev/urandom c 1 9
>
> is all you need to do.
Umm... maybe. Note that you might end up waiting for a LONG time to
get any data out of /dev/random...
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
PLEASE NOTE: Some Quantum Physics Theories Suggest That When the Con-
sumer Is Not Directly Observing This Product, It May Cease to Exist
or Will Exist Only in a Vague and Undetermined State.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: openssl
@ 2003-03-31 14:00 Eli Brin
0 siblings, 0 replies; 5+ messages in thread
From: Eli Brin @ 2003-03-31 14:00 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hello,
Just for the record:
We are working successfully with openssl 0.9.7a (ssl_v2, ssl_v3, tls_v1) on
the ELDK and Embedix running on TQM860L and FADS860T.
The older versions 0.9.6b-xx had problems and worked partly with ssl-v2
only.
The performance it not so great...but I think it can be improved with RTAI
(we use HZ=1000).
Thanks Coray (Lineo) for the help.
Best Regards,
Eli Brin
-----Original Message-----
From: Eli Brin [mailto:elib@rokonet.co.il]
Sent: Wednesday, March 12, 2003 6:12 PM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: openssl
Hello,
We are working with ELDK 2.0.2, target - TQM860L
We are trying to work with openssl, and we have the following problems:
1. Trying to create a certificate using the CA script gives us the
following error:
>sh-2.05$ ./CA -newca
>CA certificate filename (or enter to create)
>Making CA certificate ...
>Using configuration from /usr/share/ssl/openssl.cnf
>unable to load 'random state'
>This means that the random number generator has not been seeded with
>much random data. Generating a 1024 bit RSA private key
>403:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:md_
>rand.c:492:You need to read the OpenSSL FAQ,
http://www.openssl.org/support/faq.
We don't have the /dev/random and /dev/urandom. How do we create them -
mknod?
2. Using pem files created on a Redhat Linux machine gives us an error on
the function: ssl_ctx_use_certificate_chain_file.
Should we create the pem files on our target or those created with Redhat
are OK?
Our application works OK with openssl on RH8.0 and RH7.3.
Has anyone worked successfully with openssl on ppc_8xx?
Thank you,
Eli Brin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-31 14:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 16:11 openssl Eli Brin
2003-03-12 16:55 ` openssl Roland Dreier
2003-03-12 19:47 ` openssl Wolfgang Denk
2003-03-12 19:42 ` openssl Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-03-31 14:00 openssl Eli Brin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).