SSCG(8)
π NAME π
okay so bestie, meet sscg β it's the System Administration Utilities girlie (section 8 of the manual, iykyk) and her whole entire job is generating x.509 certificates π
π¦ SYNOPSIS π¦
sscg [OPTION...]
that's it. that's the whole vibe. you give her options, she gives you certs β¨
π DESCRIPTION π
she's a cert-generating queen and these are all her little knobs and switches, bestie. buckle up, there's a lot of them, and we're doing all of them, no skipping, periodt.
-V,--versionβ she tells you what version she is and then dips immediately. iconic behavior honestly.-f,--forceβ overwrites literally any files that are already chilling in the locations you asked for. β οΈ DANGER: you probably don't want to use this! no fr fr, do not.
πΈ Help options: πΈ
-?,--helpβ shows you this help message, the classic "help me help you" moment.--usageβ gives you the short little brief usage message, the snack-size version.
π Verbosity options π
-q,--quietβ no output at all unless something goes wrong. silent but deadly (in a good way).-v,--verboseβ shows you progress messages so you can watch her cook.-d,--debugβ turns on debug message logging, and it implies verbose. but bestieβ¦ Warning! This will print private key information to the screen! π like actual private keys, on your screen, in your scrollback. be so careful.
π Certificate Subject options π
--lifetime=1-3650β how long the certificate lives, in days. (default:398)--country=US, CZ, etc.β Certificate DN: Country (C). (default:"US")--state=Massachusetts, British Columbia, etc.β Certificate DN: State or Province (ST).--locality=Westford, Paris, etc.β Certificate DN: Locality (L).--organization=My Companyβ Certificate DN: Organization (O). (default:"Unspecified")--organizational-unit=Engineering, etc.β Certificate DN: Organizational Unit (OU).--email=myname@example.comβ Certificate DN: Email Address (Email).--hostname=server.example.comβ the valid hostname of the certificate. must be an FQDN (fully qualified, no shortcuts). (default: current system FQDN)--subject-alt-name alt.example.comβ optional extra valid hostnames for the certificate. and it's not just hostnames β she also accepts explicit values supported by RFC 5280, likeIP:xxx.xxx.xxx.xxx. you can specify this one multiple times, so go off. β¨
π₯ Certificate Key Cryptography Options π₯
--key-type={rsa,ecdsa,mldsa}β what kind of key the certificate's private keys use. (default:rsa)--key-strength=2048 or largerβ the strength of the certificate private keys, in bits. this argument is only valid if--key-typeis set torsa. (default:2048)--ec-curve={secp224r1,secp256r1,secp384r1,secp521r1}β which EC curve the certificate private keys use. this argument is only valid if--key-typeis set toecdsa.--mldsa-nist-level={2,3,5}β the NIST level for the ML-DSA key. this argument is only valid if--key-typeis set tomldsa. (default:2)--hash-alg={sha256,sha384,sha512}β the hashing algorithm used to sign RSA and ECDSA keys. this argument is only valid if--key-typeisrsaorecdsa. (default:"sha256")--cipher-alg={des-ede3-cbc,aes-256-cbc}β the cipher used to encrypt key files. (default:"aes-256-cbc")
π Certificate Authority File Options π
--ca-file=STRINGβ where the public CA certificate gets stored. (default:"./ca.crt")--ca-mode=0644β file mode of the created CA certificate.--ca-key-file=STRINGβ where the CA's private key gets stored. if you don't specify it, the key gets destroyed rather than written to disk. (respect, honestly β she doesn't keep what you don't ask for)--ca-key-mode=0600β file mode of the created CA key.--ca-key-password=STRINGβ a password for the CA key file. heads up bestie, this will be visible in the process table for all users, so it should be used for testing purposes only. use--ca-keypassfileor--ca-key-password-promptfor secure password entry instead.--ca-key-passfile=STRINGβ a file containing the password to encrypt the CA key file.-C,--ca-key-password-promptβ prompts you to enter a password for the CA key file.
π Certificate Revocation List File Options π
--crl-file=STRINGβ where an (empty) Certificate Revocation List file will be created, for applications that expect such a file to exist. if unspecified, no such file gets created.--crl-mode=0644β file mode of the created Certificate Revocation List.
π§ Service Certificate File Options π§
--cert-file=STRINGβ where the public service certificate gets stored. (default"./service.pem")--cert-mode=0644β file mode of the created certificate.--cert-key-file=STRINGβ where the service's private key gets stored. (default"service-key.pem")--cert-key-mode=0600β file mode of the created certificate key.-p,--cert-key-password=STRINGβ a password for the service key file. same warning as before: it will be visible in the process table for all users, so this flag should be used for testing purposes only. use--cert-keypassfileor--cert-key-password-promptfor secure password entry.--cert-key-passfile=STRINGβ a file containing the password to encrypt the service key file.-P,--cert-key-password-promptβ prompts you to enter a password for the service key file.
π Client Authentication Certificate File Options π
--client-file=STRINGβ where a client authentication certificate gets stored.--client-mode=0644β file mode of the created certificate.--client-key-file=STRINGβ where the client's private key gets stored. (default is the client-file)--client-key-mode=0600β file mode of the created certificate key.--client-key-password=STRINGβ a password for the client key file. yes, same warning: visible in the process table for all users, so this flag should be used for testing purposes only. use--client-keypassfileor--client-key-password-promptfor secure password entry.--client-key-passfile=STRINGβ a file containing the password to encrypt the client key file.--client-key-password-promptβ prompts you to enter a password for the client key file.
β Diffie-Hellman Parameter File Options β
--dhparams-file=STRINGβ a file to contain a set of Diffie-Hellman parameters. (Default: not created)--dhparams-named-group=STRINGβ outputs well-known DH parameters. the available named groups are:ffdhe2048,ffdhe3072,ffdhe4096,ffdhe6144,ffdhe8192,modp_2048,modp_3072,modp_4096,modp_6144,modp_8192,modp_1536,dh_1024_160,dh_2048_224,dh_2048_256. (Default:"ffdhe4096")--dhparams-generator={2,3,5}β the generator value for dhparams. (default:2)
okay that's genuinely the whole page, you read all of it, I'm so proud of you π«Ά go make some certificates, you've got this bestie β¨π
this was sscg 4.0.4, and the page is dated September 2026 β mwah, sending you off with a kiss and a fully populated process table ππ
π¦ where this page comes from
- arch rolling: sscg 4.0.4-1 Β· GPL-3.0-or-later
- fedora 43: sscg 4.0.4-1.fc43 Β· GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- fedora 44: sscg 4.0.4-1.fc44 Β· GPL-3.0-or-later WITH cryptsetup-OpenSSL-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms