dnssec-keygen: fatal: unsupported algorithm:

Latest response

Hi,

This error appears when I try to generate the key;

# dnssec-keygen -r /dev/urandom -f KSK -a RSASHA1 -b 1024 -n ZONE example.com
dnssec-keygen: fatal: unsupported algorithm:

Already tried with all key types.

How to fix this error?

Thanks in advance.

Responses

I could not see anything wrong with that command so I did a quick test and it seems to work:

~]$ sudo dnssec-keygen -r /dev/urandom -f KSK -a RSASHA1 -b 1024 -n ZONE example.com
[sudo] password for xxxx: 
Generating key pair......................++++++ .....................++++++ 
Kexample.com.+005+41482
~]$ ls -lt
total 3900
-rw-r--r--.  1 root root    430 Dec 12 20:51 Kexample.com.+005+41482.key
-rw-------.  1 root root   1010 Dec 12 20:51 Kexample.com.+005+41482.private

Hi Stephen,

Yes, the command is correct, but when I run show me this error. Do you have any idea what it might be? May be missing some package needed for the algorithms?

Thanks in advance

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.