[ntp:questions] ntp-keygen and autokey

Tim Tanguy.ropitault at gmail.com
Mon May 15 13:20:00 UTC 2006


Hi,
I try to follow the tutorial given on the url
http://ntp.isc.org/bin/view/Support/ConfiguringAutokey?rev=r1.3 but it
doesnt work...
when I try to create trusted public key and identity scheme parameter
file on my NTP server with the following command:  ntp-keygen -d 0 -T
-I -p mypassword , it gives the following output:

Using OpenSSL version 90703f
Random seed file /root/.rnd 1024 bytes
Generating GQ parameters (512 bits)...
GQ 0 2 4        1 11 24                         3 1 2
Private-Key: (512 bit)
modulus:
    00:d6:91:b9:1e:66:dd:38:73:44:ef:0a:7b:f7:ed:
    dd:7f:e5:bc:da:bd:62:28:4f:4a:2e:e0:c2:3a:7a:
    df:d4:e7:9c:a5:70:aa:7d:5f:1b:81:e8:9c:2a:34:
    25:45:34:5f:c6:fc:de:6b:05:6a:0a:e6:b2:a5:a1:
    be:c1:d2:11:d7
publicExponent:
    1f:06:49:b7:6a:64:b9:f2:c8:e4:5a:bc:51:b8:b9:
    d3:a8:54:25:5a:e8:f7:de:65:8b:75:86:5b:34:e5:
    57:55:fa:70:c7:87:97:04:9d:f7:a6:eb:af:ac:14:
    03:eb:50:54:d3:9c:7f:77:30:f9:c2:35:49:00:6f:
    49:64:8d:c9
privateExponent: 1 (0x1)
prime1: 1 (0x1)
prime2: 1 (0x1)
exponent1: 1 (0x1)
exponent2: 1 (0x1)
coefficient: 1 (0x1)
Generating new gq file and link
ntpkey_gq_linux2400->ntpkey_GQpar_linux2400.3356687876
Host key
error:06065064:digital envelope routines:EVP_DecryptFinal:bad decrypt

I have searched in newsgroup what does the last line means, and it's a
problem for the decryption step, but I dont really understand why I
have this problem at this stage... 

Thanks for answers...




More information about the questions mailing list