Generate an x.509 certificate request
gpgsm-gencert.sh
This is a simple tool to interactively generate a certificate request which will be printed to stdout.
gpgsm(1), gpg-agent(1), scdaemon(1)
The full documentation for this tool is maintained as a Texinfo manual. If GnuPG and the info program are properly installed at your site, the command
info gnupg
should give you access to the complete manual including a menu structure and an index.