Cert tool provides certificate utilities for Titanis workflows. Currently it supports generating self-signed certificates that you can use for SSL authentication, Kerberos PKINIT, or associating with Active Directory accounts.
Subcommands
| Command | Description |
|---|---|
| selfcert | Create a self-signed X.509 certificate |
For help on any subcommand, run
Cert <subcommand> -h.selfcert
Creates a self-signed X.509 certificate and writes it to a PFX file. You can optionally export the public certificate separately.Parameters
Parameters
Subject name as an X.500 distinguished name string, e.g.
CN=ALLENTOWN,DC=LUMON,DC=corp.Certificate options
Certificate options
Path of the output
.pfx file to write (contains both the private key and the certificate).Path of an additional public certificate file to write (
.pem or .cer format).RSA key size in bits.
Signature hash algorithm. Possible values:
Md5, Sha1, Sha256, Sha384, Sha512, Sha3_256, Sha3_384, Sha3_512.Subject Alternative Name (SAN) extension value.
Path to an existing certificate file to use as a template. The new certificate copies properties from this template.
Examples
Create a basic self-signed certificate
allentown.pfx.Create a certificate and export the public key
allentown.pfx and the public certificate alone to allentown.cer.Common usage patterns
PKINIT authentication
PKINIT authentication
Generate a certificate and associate it with an Active Directory account, then use it for Kerberos PKINIT authentication in other Titanis tools via
-UserCert and -UserKey:SSL client authentication
SSL client authentication
Use the generated PFX as a client certificate for LDAP over SSL:
Related tools
Ldap
Associate the generated certificate with an Active Directory account using
Ldap mod.Ldap adduser
Create an account with an associated certificate at provisioning time.