On 2011-12-20, Arpan Gujarati <[email protected]> wrote:
> I am trying to generate keys for to enable autokey option with NTP. But I
> am getting a Floating point exception when I try it on Free-BSD machine.
> can anyone please point what may be the possible problem?
>
> root@ns# ntp-keygen
> Using OpenSSL version OpenSSL 0.9.7e-p1 25 Oct 2004
> Using host ns group ns
> Generating RSA keys (512 bits)...
> Floating point exception: 8 (core dumped)
>
It works for me on a FreeBSD 8.2 system:

FreeBSD 8.2-STABLE

Welcome to FreeBSD!

# ntp-keygen
Using OpenSSL version 90811f
Random seed file /root/.rnd 1024 bytes
Generating RSA keys (512 bits)...
RSA 0 6 9       1 11 24                         3 1 2
Generating new host file and link
ntpkey_host_xxxxx.xxxxxx->ntpkey_RSAkey_xxxxxxx.xxxxxxx.xxxxxx.3533465390
Using host key as sign key
Generating certificate RSA-MD5
X509v3 Basic Constraints: critical,CA:TRUE
X509v3 Key Usage: digitalSignature,keyCertSign
Generating new cert file and link
ntpkey_cert_xxxxxxxx.xxxxxxx.xxxxxxx->ntpkey_RSA-MD5cert_xxxxxxx.xxxxxx.xxxxxx.3533465390

My OpenSSL is a lot newer than the one from October 2004.

Tom

-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF

_______________________________________________
questions mailing list
[email protected]
http://lists.ntp.org/listinfo/questions

Reply via email to