- 论坛徽章:
- 0
|
求教!
执行下面语句.提示没有密码支持?? 这是为什么??
[root@localhost ~]# dnssec-keygen -a DSA -b 768 -n ZONE zzx.com
dnssec-keygen: failed to generate key zzx.com/DSA: built with no crypto support
而Bind官方文档中都有同样的列子
dnssec-keygen -a RSASHA1 -b 768 -n ZONE child.example
在看文档中发现下面这句话
The algorithm_id is a string that specifies a security/authentication algorithm. Named supports hmac-md5, hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384 and hmac-sha512 TSIG authentication.
是dnssec-keygen 不支持dsa or dh
还是 我的程序有问题?
查看了下 man dnssec-keygen
OPTIONS
-a algorithm
Selects the cryptographic algorithm. The value of algorithm must be
one of RSAMD5 (RSA) or RSASHA1, DSA, DH (Diffie Hellman), or
HMAC-MD5. These values are case insensitive.
Note 1: that for DNSSEC, RSASHA1 is a mandatory to implement
algorithm, and DSA is recommended. For TSIG, HMAC-MD5 is mandatory.
不知道我命令怎么就执行不了..?
Help me 谢谢!
[ 本帖最后由 zzx4441 于 2007-5-12 12:18 编辑 ] |
|