I think you might need to run grid-default-ca to choose which CA to use for certificate requests.
For the hostname, use the machine's fully-qualified name. Joe On Oct 17, 2012, at 9:25 AM, gridftp user <[email protected]> wrote: > > According to the instructions for setting up the Simple CA > (http://globus.org/toolkit/docs/5.2/5.2.2/admin/install/appendix.html#gtadmin-simpleca), > I need to request a host certificate by running: > sudo grid-cert-request -host 'hostname' > > It would have been really nice if the next line explained what value is > expected for 'hostname' but the author failed to see a need for this. > Assuming it means my host, I entered: > sudo grid-cert-request -host '[email protected]' > > and got an immediate error: > line 917: /etc/grid-security/grid-security.conf: No such file or directory > > Searching for that file name on the Globus site, I found a description from > the version 4.0 documentation > (http://www.globus.org/toolkit/docs/4.0/admin/docbook/ch05.html): > grid-security.conf A base configuration file that contains the name > and email address for the CA. > > So I created that /etc/grid-security/grid-security.conf file: > root > [email protected] > > Now sudo grid-cert-request -host '[email protected]' gives another error: > /etc/grid-security/grid-security.conf: line 1: root: command not found > /etc/grid-security/grid-security.conf: line 2: [email protected]: command > not found > /usr/bin/grid-cert-request: line 442: > /etc/grid-security/globus-host-ssl.conf: No such file or directory > > So obviously grid-security.conf is not a base configuration file that > contains the name and email address for the CA. Is there any chance someone > would be willing to take a minute to explain what that file should contain, > as well an example of what should be in > /etc/grid-security/globus-host-ssl.conf? I would sure appreciate it. > > Thanks, > Melvin >
