GRID-CA-CREATE(1)
๐ NAME ๐
grid-ca-create โ create a CA to sign certificates for use on a grid โจ
(hi bestie, this is straight out of the Grid Community Toolkit Manual, and yes we're doing the whole thing, no skips ๐ )
๐ธ SYNOPSIS ๐ธ
grid-ca-create [ -h | -help | -usage | -version | -versions ] [
-openssl-help]
grid-ca-create [ OPTIONS ] [ OPENSSL-OPTIONS ]
โจ DESCRIPTION โจ
okay so grid-ca-create makes a self-signed CA certificate plus all the related files you need to actually use that CA with the other Globus tools. iconic behavior honestly ๐
It prompts you for the info it needs to generate the CA certificate โ but the way that you can totally dodge all those prompts is by just passing the command line options instead. no cap. ๐
By default, grid-ca-create does the whole lil routine:
- creates the self-signed CA certificate ๐ฆ
- installs it on the current machine in its trusted certificate directory ๐
- creates a source tarball which can be used to generate an RPM package for the CA ๐
and like, if that RPM package gets installed on a machine, users on that machine can create certificate requests for user, host, or service identity certificates to be signed by the CA certificate that got generated by running grid-ca-create. it's giving ecosystem. ๐
If you run it as a privileged user, grid-ca-create creates the CA certificate and support files in the CA certificate and signing policy are installed in the /etc/grid-security directory. Otherwise, the files are
๐ bestie. that is literally where the sentence ends in the manpage. it just stops. the original text goes "Otherwise, the files are" and then nothing. we do not fix it, we do not guess, we simply observe and move on. periodt. ๐ญ
๐ OPTIONS ๐
Here's the full set of command-line options to grid-ca-create. And also โ plot twist โ unknown options get passed straight to the openssl command when it's creating the self-signed certificate. sneaky but slay. โจ
-help,-h,-usageโ shows you the command-line options forgrid-ca-createand then exits. bye! ๐-version,-versionsโ prints the version number of thegrid-ca-createcommand. the second form gives you more deets. ๐-forceโ overwrites an existing CA in the destination directory if one's already sitting there. no hesitation. ๐ฅ-bits BITSโ makes a CA certificate with aBITSlong RSA key. default is4096. ๐-nointโ runs in non-interactive mode. it'll just pick defaults for parameters, or use whatever you specified on the command line, without ever prompting you. lowkey a blessing. also this option implies-force. ๐ซถ-dir DIRECTORYโ creates the CA inDIRECTORY. important: theDIRECTORYmust not exist before you rungrid-ca-create. don't pre-make it bestie it will not go well ๐-subject SUBJECTโ usesSUBJECTas the subject name of the self-signed CA to create. if you don't put this on the command line,grid-ca-createdefaults to using the subject namecn=Globus Simple CA, ou=$HOSTNAME, ou=GlobusTest, o=Grid. ๐-email ADDRESSโ usesADDRESSas the email address of the CA. the default instructions thatgrid-ca-creategenerates tell users to mail the certificate request to this address. if you don't specify it on the command line,grid-ca-createdefaults to$LOGNAME@$HOSTNAME. ๐ง-days DAYSโ sets the default lifetime of the self-signed CA certificate toDAYS. if you don't set it,grid-ca-createdefaults to 1825 days (that's 5 years, math girlies rise ๐งฎ). ๐-pass PASSWORDโ uses the stringPASSWORDto protect the CA's private key. super useful for automating Simple CA, but it may make it easier to compromise the CA if someone gets a shell on the machine storing the CA's private key. so like... know the risk, bestie. โ ๏ธ-nobuildโ disables building a source tarball for distributing the CA's public information to other machines. you can always make that source tarball later with thegrid-ca-packagecommand. no rush. ๐ฆ
๐ฅ EXAMPLES ๐ฅ
Create a simple CA in $HOME/SimpleCA:
% grid-ca-create -noint -dir $HOME/SimpleCA
C e r t i f i c a t e A u t h o r i t y S e t u p
This script will setup a Certificate Authority for signing Globus
users certificates. It will also generate a simple CA package
that can be distributed to the users of the CA.
The CA information about the certificates it distributes will
be kept in:
/home/juser/SimpleCA
The unique subject name for this CA is:
cn=Globus Simple CA, ou=simpleCA-grid.example.org, ou=GlobusTest, o=Grid
Insufficient permissions to install CA into the trusted certifiicate
directory (tried ${sysconfdir}/grid-security/certificates and
${datadir}/certificates)
Creating RPM source tarball... done
globus_simple_ca_0146c503.tar.gz
(yes, certifiicate is spelled like that in the original. we respect the typo. it's canon. ๐)
๐ ENVIRONMENT ๐
These environment variables affect how grid-ca-create runs:
GLOBUS_LOCATIONโ non-standard installation path of the Grid Community Toolkit. ๐
๐ SEE ALSO ๐
grid-cert-request(1), grid-ca-sign(1), grid-default-ca(1), grid-ca-package(1)
go read those too, they're the friend group ๐ซถ
๐ AUTHOR ๐
Copyright ยฉ 1999-2014 University of Chicago
okay that's the whole page bestie, you ate it up ๐ this was Grid Community Toolkit 6, dated 06/03/2020 โ periodt, go make that CA ๐โจ
๐ฆ where this page comes from
- debian bookworm: globus-simple-ca 5.4-1 ยท Apache-2.0
- debian trixie: globus-simple-ca 5.4-2 ยท Apache-2.0
- epel 10: globus-simple-ca 5.4-4.el10_0 ยท Apache-2.0
- epel 9: globus-simple-ca 5.4-1.el9 ยท ASL 2.0
- fedora 43: globus-simple-ca 5.4-9.fc43 ยท Apache-2.0
- fedora 44: globus-simple-ca 5.4-10.fc44 ยท Apache-2.0
- ubuntu jammy: globus-simple-ca 5.3-1 ยท Apache-2.0
- ubuntu noble: globus-simple-ca 5.4-1 ยท Apache-2.0
- ubuntu questing: globus-simple-ca 5.4-2
- ubuntu resolute: globus-simple-ca 5.4-2build1 ยท Apache-2.0
- ubuntu stonking: globus-simple-ca 5.4-2build1 ยท Apache-2.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms