Client Management
A client represents a machine where a supported product such as ProtectFile, ProtectV, and CTE is installed. A client needs to be registered with the CipherTrust Manager to retrieve and store encryption keys to encrypt and decrypt data. When successfully registered, the client is automatically added to the CipherTrust Manager.
A client can be registered with the CipherTrust Manager by using a registration token generated on the CipherTrust Manager. This token is called the client registration token. The fingerprint of the server’s web interface certificate is also required for registering clients with the CipherTrust Manager.
The CipherTrust Manager provides options to manage registration tokens and clients.
Note
For client authentication to work in any domain, the issuer CA of that client certificate must be added in the domain and client_authentication
for that CA must be enabled. This is applicable only for the clients with authentication_mode
set as dn
.
Tokens
A token is a string that is used to register clients having ProtectFile, ProtectV, CTE, and CTE UserSpace installed with the CipherTrust Manager. The CipherTrust Manager provides options to create tokens, view existing tokens, view and modify their details, and delete them when they are no longer required.
The following table lists the parameters that are required when creating or managing a registration token on the CipherTrust Manager:
Parameter | Description |
---|---|
Certificate Authority ID | ID of the trusted CA that will be used to sign a client certificate during the registration process. By default, a local CA will be used to issue certificates. A signed Local CA certificate is used to secure communication between the CipherTrust Manager and clients. To use an external CA certificate, specify the ID of the Local CA signed by the external CA. |
Lifetime | Duration (in minutes, hours, or days) for which this token can be used for registering clients. Specify m for minutes, h for hours, and d for days. For example, specify the lifetime as:
By default, there is no time limit; the token can be used forever. |
Certificate Duration | Duration (in days) for which the CipherTrust Manager client certificate is valid. The default duration is 730 days. |
Maximum Clients | Maximum number of clients that can be registered using this registration token. By default, there is no limit; any number of clients can be registered using this token. |
Name Prefix | Prefix for the client name. This prefix will be used to construct names for clients whose names will not be specified during registration with the CipherTrust Manager using this token.
However, if a client's name is specified during registration, this name prefix will not be used for that client. |
Revocation Reason | Reason for revoking the client registration. |
Creating a Registration Token
A registration token can be created on the CipherTrust Manager. It is used when registering CipherTrust Manager clients with the CipherTrust Manager. A CipherTrust Manager administrator creates registration tokens.
To create a registration token:
Log on to the CipherTrust Manager GUI as administrator.
In the left pane, click Access Management > Registration Tokens.
On the right, click New Registration Token. The Create New Registration Token wizard is displayed. This is a three-step wizard.
Click Begin to start token creation. The Configure Token screen is displayed.
(Optional) Specify a Name Prefix. Prefix for the client name. This prefix is used to construct names for clients whose names are not specified during registration with the CipherTrust Manager using this token.
If the name prefix is specified as
ks_client
, client names will be constructed asks_client#
; for example,ks_client1
,ks_client2
,ks_client3
, and so on.If the name prefix is not specified, the CipherTrust Manager will construct a random name for clients.
However, if a client's name is specified during registration, this name prefix will not be used for that client.
Specify Token lifetime. This is the duration (in minutes, hours, or days) for which this token can be used for registering clients. For example, specify the lifetime as:
1 minutes
for 1 minute2 hours
for 2 hours3 days
for 3 daysunlimited
for a token that never expires.
By default, the token lifetime is
unlimited
. The token will never expire.Specify Certificate Duration. This is the duration (in days) for which the CipherTrust Manager client certificate is valid. The default duration is
730
days.Specify Client Capacity. This is the maximum number of clients that can be registered using this registration token. The default capacity is
100
clients.Click Next. The Select CA screen is displayed.
Select a CA from the given list as per your requirements.
Click Create Token. The Create Token screen is displayed. The created token is displayed on screen.
Click Copy next to the token. Save the copied token. This token will be used when migrating clients.
Click Done.
Note
While creating a registration token, the CA chain will be validated for the intermediate local CAs.
Getting the Fingerprint of the Server's "web" Interface Certificate
The fingerprint of the server's "web" interface certificate is unique. It is used when registering ProtectFile and CTE UserSpace clients with the CipherTrust Manager. A CipherTrust Manager administrator can provide you the fingerprint.
Fingerprint of the server’s web interface certificate can be viewed on the GUI or the API playground.
On the API Playground
To get the fingerprint:
Acquire an authorization token.
In the left pane of the API playground, click Client-Management/Tokens.
Under Client-Management/Tokens, click Web Certificate Fingerprint. The Web Certificate Fingerprint section of the API playground is displayed in the right pane.
Click GET. View the fingerprint details in the response output.
The SHA256 and SHA512 fingerprints of the server’s web interface certificate are displayed.
On the UI
To get the fingerprint:
Log on to the CipherTrust Manager as administrator.
In the left pane, click Access Management > Registration Tokens. The list of existing registration tokens with details such as their name, expiry, remaining usage count, and usage count is displayed.
On the right, under the CipherTrust ManagerWeb Server Certificate Fingerprint, the fingerprint is displayed.
The UI displays the SHA256 fingerprint. To get the SHA512 fingerprint, use the API playground.
Copy the fingerprint.
Save the fingerprint. This fingerprint will be used when migrating clients.
Clients
All clients with supported product installations (for example, ProtectFile, ProtectV, and CTE) can be managed on the CipherTrust Manager. A Administrator can register clients (except ProtectFile clients) with the CipherTrust Manager, view registered clients, view and modify details, revoke registrations, renew clients, and delete clients when they are no longer needed.
The following table lists the parameters that are required when managing a client on the CipherTrust Manager:
Parameter | Description |
---|---|
Name | Name for the client to display on the CipherTrust Manager. |
Registration Token | Registration token to register the client with the CipherTrust Manager. |
Certificate Signing Request (CSR) | CSR to be signed by the CipherTrust Manager. |
Warning
As soon as a client is deleted from the CipherTrust Manager, all communication between the CipherTrust Manager and the client will stop immediately. It is recommended that the clients are decrypted before deletion, otherwise the encrypted data will become inaccessible.
Renew Client Certificates
The CipherTrust Manager allows you to renew the certificate of a registered CipherTrust Manager client. The CipherTrust Manager provides the following renewal methods:
Admin's Renew Route - A member of the
Client Admins
oradmin
group can renew the certificate for a client.Self-renew Route - An authenticated client that is a part of
All Clients
group can renew its own client certificate.
Note
• Self renewal is only supported for certificates signed by a Local CA of the CipherTrust Manager.
•The grant_type
of the client authentication should be client_credentials
.
After the successful renewal, the renewed certificate and the key (optional) will be shared in the response. The authentication of the renewed client certificate is based on the Subject DN
of the certificate.
Note
• After the renewal of client certificates, the CipherTrust Manager continues to allow old client certificates unless they are revoked or expired.
• A CipherTrust Manager client certificate cannot be renewed if it is revoked.
The following table lists the parameters that are required to renew client certificates:
Parameter | Description |
---|---|
cert_duration | Duration (in days) for which the CipherTrust Manager client certificate is valid. The default duration is 730 days. It is recommended not to use a duration longer than that. The certificate duration shouldn't be more than the CA duration. However, if the certificate duration exceeds the CA duration, the certificate duration is automatically set to CA's duration. |
csr | CSR to be signed by one of the Local CAs (the CA which is the issuer of the current client certificate) of the CipherTrust Manager. |
do_not_modify_subject_dn | Specifies if Subject DN in the CSR is allowed to be modified or not. If this flag is set to true , then Subject DN must be unique across all the CipherTrust Manager clients, otherwise renewal will not be allowed. The default value is false . For details, refer to the section Renewing Local CA Clients. |
ext_cert | New client certificate signed by an external CA to renew an existing CipherTrust Manager client. |
subject_dn_field_to_modify | This field is used to make Subject DN unique so that the client can be identified uniquely. The default value is UID . For details, refer to the section Renewing Local CA Clients. |
subject_dn_template | CSR parameters used to generate a CSR for client certificate. |
key_gen_params | Parameters (algorithm, size, private_key_bytes, and so on) are used to generate and optionally encrypt the private key. |
Renewing Local CA Clients
A client certificate can be renewed using one of the following methods:
Client CSR
You can pass the CSR with
do_not_modify_subject_dn
flag. This flag specifies if theSubject DN
in the CSR is allowed to be modified by the CipherTrust Manager as part of renewal or not.If
do_not_modify_subject_dn
is set tofalse
, the server assignsclient_id
toSubject DN
of the field decided by thesubject_dn_field_to_modify
parameter.For example:
"/CN=admin/UID=1a26fd25-0c28-4afa-b392-a4fa970604a1"
This ensures that
Subject DN
is unique for each renewed client.However, if
do_not_modify_subject_dn
is set totrue
, the client does not permit the server to modifySubject DN
in the CSR. In this case, the client needs to provide a CSR withSubject DN
which is unique on the CipherTrust Manager.Note
It is highly recommended to set the
do_not_modify_subject_dn
field to false unless there are constraints preventing modifications in the CSR.Server CSR
The CSR parameters (
subject_dn_template
) and key generation parameters (key_gen_params
) can be passed to generate and optionally encrypt the private key.The server assigns
client_id
toSubject DN
of the field decided by thesubject_dn_field_to_modify
parameter. This ensures thatSubject DN
is unique for each renewed client.Without Client and Server CSRs
When the client CSR and server CSR parameters are not provided, the renewal parameters are taken from an internal client profile used at the time of registration. If no associated profile is found, the renewal fails.
The server assigns
client_id
toSubject DN
of the field decided by thesubject_dn_field_to_modify
parameter. This ensures thatSubject DN
is unique for each renewed client.
In case of renewing a client that is issued by a local CA, you can specify the certificate duration. The default value (duration) is 730 days.
Following are the possible values of the subject_dn_field_to_modify
field:
UID (
userid
)CN (
commonName
)SN (
serialNumber
)DNQ (
dnQualifier
)OU (
organizationalUnit
)
If none of the fields is selected, by default the UID
is used to modify the Subject DN
.
Warning
If any of these fields (except OU
) is selected, the original field values will be overridden by the CipherTrust Manager.
If OU
is selected, the OU
will be appended to Subject DN
with other attributes.
Note
It is recommended to select a field that is not already a part of CSR or CSR parameters (that is, select a not-in-use field).
Renewing External CA Clients
When renewing a client certificate that is issued by an external CA, you need to provide the new certificate signed by the external CA in the request. The renewed certificate must have a unique Subject DN
for each client. Also, Subject DN
of the new certificate should match Subject DN
of the old client's certificate.
Renew Client Certificates using ksctl
To renew client certificate, run:
Syntax
ksctl clientmgmt clients renew --client-id <client-id> --cert-duration <Duration-in-days> --ext-cert <Certificate-file-signed-by-an-external-CA> --clientcsr <CSR-signed-by-local-CA> --subject-dn-field-to-modify <Subject-Distinguished-Name> --do-not-modify-subject-dn --alg <Algorithm> --cn <Common Name> --dns <Subject Alternative Names> --email <E-mail-Addresses> --enc-alg <Private Key Encryption Algorithm> --ips <IP-Addresses> --names <{O:organization, OU:organization unit, C:country, ST:state/province, L:location}> --pass <Password to PEM-encrypt the private key> --private-key-bytes <Private key bytes of the key> --size <Key size>
Example Request 1 for Local CA
ksctl clientmgmt clients renew --client-id 1a6b1e6c-bd80-4936-9db3-f85d1d547b01 --cert-duration 1000 --alg ecdsa --dns *.thalesgroup.com --email contact@thalesgroup.com --enc-alg AES256 --ips 1.1.1.1 --names {O:Thales Group,OU:RnD,C:US,ST:MD,L:Belcamp} --pass KeySecure_1 --private-key-bytes -----BEGIN EC PRIVATE KEY-----\nMHcCAQEEIEj1iesPsLdk0tM7Jv87sruegOPdmji9SY3s3ncdckxqoAoGCCqGSM49\nAwEHoUQDQgAEL8cvuduRZs6e/vsttMlhi9HxV+0FzhCg/zHUmXNmyH5KlmQgoaql\nVfwnHqQk79lf+55WSLD7uUwaxhYwGHIapw==\n-----END EC PRIVATE KEY----- --size 256
Example Response 1
{
"client_id": "1a6b1e6c-bd80-4936-9db3-f85d1d547b01",
"key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAnyfmh0/39UJAPAJooSLBbwFilA+OGBoG1zVJ3n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N8=\n-----END CERTIFICATE-----\n"
}
Example Request 2 for Local CA
ksctl clientmgmt clients renew --client-id 400a1593-c80c-48cb-86c6-466c1f0b7664 --cert-duration 100
Example Response
{
"client_id": "400a1593-c80c-48cb-86c6-466c1f0b7664",
"key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA6OYYStxJNTZPqJItHuiVvGM2ruKrMQVuhzPGn321QTJroKrA\n4gjOi4jEIg7i3f4MGHzaVfRRKm7+ciRJniAUyCIvohtFXe3DEyKEzspftaokejAy\n+8NkTZOEsDDpWRujF7VXZTF2be3MtOo1ie/dyuCwajmVL7t/DQU9C+I/gTHGAMz7\nx4vALfiolxNEmCdWgKCfOCoT4surirdZNGZpzI6h1QVovcfsGMVotiMsPL7a3svc\nS6EgrBJkYTSYuwyYGJ6CSwMm5CyhMflbkt4lsVAhHJGTZeGWzrGW0Ku0tFDSAygF\nHrKPjW6QqfrhY2uiKfG2X41ZYMV4A4v7DMPYSQIDAQABAoIBAQDfSTqhCvFlAtz8\nUKjRqUtlgfk7UjWumfaNySX0YyETkLN/JjYmfysGu+jOflcjXh1anNj273WhqShp\nZkDuSPOjrKLeWCb5Fqqf/cg2Oe/oy2aNfwhiN8JCXdwoz7voooaKhGF1syZH3mUU\nTjdmN4H8r85zCSHu0WPNp+gPLKqVwL5NBzru9CyTggLmxJ5lggG4DQxwPJ8PWhDa\neHaLZV46QuaoAX1/l+dDJWWmTDwqai0KMqPyLf94kmzitUF6R1UI1qkA6T5FfP2v\nvkqTbDxxmxiQy/pSU7jUYftEN4MtpHxb//czB+1VwunrQAJ1YDWCJ8+QHY9zTeHl\nPaSyWXsBAoGBAPYQHstd0F47Jyqv0a3cP75wGieKoqftaYARrZZYTDUoUdhWg3MA\na+2cvUJRYv7GXypjaRdstkmWmkJPmp6PIjjV2ESCO7gfd0VzynrXIhRGzXjCrgP7\nXcjKcFP7AqHREwcgWNY/sGZwzJH4VTR9cQKMAJMCwy0i19jqP6FqO2llAoGBAP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zz8mse0KeqaCQwgAlEB+UW9\nN6dReEK03W7IS50JK6Bu2F82zA6teCKVWWhncDVfmDS+UYYYXYs5DRmOp7a+Ly1s\nEb9aDFDkEW1foheJakWXQAjdhWAgJYO4lMp7DKunFB5QunPWp38rX1hC1A4CKAkg\nxXVj92YLoLmTQWOHeG3IQ8mJZ1z2a86RqvWBsQzeMqA1VJRFEa/QE6p7c/oKOks+\n+fpqqQ==\n-----END CERTIFICATE-----\n"
}
Example Request 3 for Local CA
ksctl clientmgmt clients renew --client-id 47e5049f-770c-4be8-85d2-51bc9c39f0ba --subject-dn-field-to-modify UID
Example Response 3
{
"client_id": "47e5049f-770c-4be8-85d2-51bc9c39f0ba",
"key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEA05wMhkXcSieR0XYGQKlXeJ4QBqs9wT2DsZnnAyFwyzWuW8Oq\nyb57t3bVXoZFh3RY7V3k0VTwOY/JjwTYfzWmc6it9YtGm/lFDskfVZ4R8iYgDHUF\nzxERcNGuiQPDJBQxxiFiQ/Y1gHNXdq1QS8UfYLrc4+DpAnTfQOJ9xZVq/jMOB9qa\nMWGzSn4G3rbzbUMRKf2mf5U8/5dBcEIbHQURZosdXs4nXj3+ZucidVx4/NTyX1Jm\nA1tN+TkgoSyta2m/G4vphjyMX6dWAjnOIATwQHxR/ZyPKDw8qc/RZx5TVu7lTExd\nLGepmB1AMwFMvh/mwJVaX0rifDMo2//jGTGKLQIDAQABAoIBAQCNGrCLVMhZNluY\n1d/DfGhUiOnc2JE8az2Gzz5pKwJgrvIORMJ89qTeqMIM3vI8KcwmtAahw8bQS143\nHR8UbH0LAL7HTlEOLsDq5Bgd6mLDGsMiK2JtOk9r8JY2zShxxXmPSbGR6fqxJbh7\n7YPukoqi4NfsqIwX1EEOrjj56PHIgKKBvunZuyUgMZZqyibE6AJBdp2udcjPN4Y2\nruuh7vHtfMJ1pwjFTgaQd3w2dqWHdI/jw6RdfIsAuMTiZIEevq4iN9kcY6rdQGc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tSUNXmQcN\nzYvDnfep4Ka81KIrMmxtocuHdDQoZvUy6U+Akrf9GNiGYUBfNCnxFQflmXKArknL\n3RqBjZWwS0zKnSN4QV/1CKHOlC5xnkviRTNNoYbSL5mRvuGiJ7+iGRu0c5NFoBM3\nuVA9Sar5VZ8xS780ONB2ud4Ci1cwdGhOqGPJugSo/qSXJuKYH7Y8W+T/Aaqg96lz\nwdSlrl7tQVkM50/eyNRsWo9lxu3Gbnf/ccdsFADAvwzyJTU8Wum8yFEHPkAHx2r7\n4fEBVi94LLz4msqGvsIBU/GUWieDVwPysZzMVABFGpS1jFYltZ3MvkJJn5h8CasA\nvOPeqLUdGSG/P7aHzyJR58s3f3Y15/tQgM5McyOvBtK0lSOKWRrmvMpF8wwiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 4 for Local CA
ksctl clientmgmt clients renew --client-id 1e04f15f-0de7-4e13-9c5d-2a84e26ee947 --clientcsr ./csr.pem
Example Response 4
{
"client_id": "1e04f15f-0de7-4e13-9c5d-2a84e26ee947",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICejCCAWICAQAwNTEzMDEGA1UEAxMqdG9rZW4yMDk5YWI5MjktMTk0Zi00ZThi\nLTkwZWMtNTk1Mjc5NTgzYWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\nAQEAsKKO2wJspkm8eeVJZ6r9aexy4Nk+7vlaMsVgTBjI2yZrtgbkbNFQah1cwKny\nC3ZNF5X4USFGhFs+msgoCEFUb3leMQb7WS6yPsRgM4Z4E3WIu9bDNBp9MUXuSE1k\nz6uv9qbDLD9TVghkMIIU6wJuCS3OidIww8ZtZEkhQvU91QpmGSOAhWYonCdRvNaC\noqKGbDrfRU+7siK8+L0rea+lcn1frdWjkYB//GzuhhqJ2zitxRo+Zukx1PAS59Gi\n2sAnWJTm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wiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 5 for Local CA
ksctl clientmgmt clients renew --client-id 1e04f15f-0de7-4e13-9c5d-2a84e26ee947 --clientcsr ./csr.pem --do-not-modify-subject-dn
The CSR file must be in the PEM
format as:
-----BEGIN CERTIFICATE REQUEST-----
MIICejCCAWICAQAwNTEzMDEGA1UEAxMqdG9rZW4yMDk5YWI5MjktMTk0Zi00ZThi
LTkwZWMtNTk1Mjc5NTgzYWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAsKKO2wJspkm8eeVJZ6r9aexy4Nk+7vlaMsVgTBjI2yZrtgbkbNFQah1cwKny
C3ZNF5X4USFGhFs+msgoCEFUb3leMQb7WS6yPsRgM4Z4E3WIu9bDNBp9MUXuSE1k
z6uv9qbDLD9TVghkMIIU6wJuCS3OidIww8ZtZEkhQvU91QpmGSOAhWYonCdRvNaC
oqKGbDrfRU+7siK8+L0rea+lcn1frdWjkYB//GzuhhqJ2zitxRo+Zukx1PAS59Gi
2sAnWJTmAdw/eCyMJo2HG9R2dKmAtmMx+dgO9nNnB0+FK0sEC1SHTNWaGALmX5rT
lIdDxeHUrjE5K/7dLC32qcqC1QIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAAbJ
UpqzjZwgq+RV0ph33GMK2s2fyv4tbOQ+jwdsWFQrYVdBJevxu9xD1/Ou9QN+4L2T
hXFs1WLyDWYxZyCu+4vPVYLBXzEnOqZblixiljmJ8wykYk2dyttNPOQo22ZPLTHx
viMZ81qZu/oGGk4ia9YBsvjMLPsbFzW34xWLTiEYgiNDlPhsZxQbxOwQ6H2VsCAQ
6c/cF0LkbZZvKunrNb//KnfF7VmPFhZQkdtuagwAX/lLdymVGockFLviYcxTP6nO
7xUzUVcBRadZib+8dQYeRnUW2+qAQeWFfLFqQrFG9xr8UWQt8ShDWuTwZPvWnA9V
8JmUnCIUOuoaJWZxP+Y=
-----END CERTIFICATE REQUEST-----
Example Response 5
{
"client_id": "1e04f15f-0de7-4e13-9c5d-2a84e26ee947",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICejCCAWICAQAwNTEzMDEGA1UEAxMqdG9rZW4yMDk5YWI5MjktMTk0Zi00ZThi\nLTkwZWMtNTk1Mjc5NTgzYWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\nAQEAsKKO2wJspkm8eeVJZ6r9aexy4Nk+7vlaMsVgTBjI2yZrtgbkbNFQah1cwKny\nC3ZNF5X4USFGhFs+msgoCEFUb3leMQb7WS6yPsRgM4Z4E3WIu9bDNBp9MUXuSE1k\nz6uv9qbDLD9TVghkMIIU6wJuCS3OidIww8ZtZEkhQvU91QpmGSOAhWYonCdRvNaC\noqKGbDrfRU+7siK8+L0rea+lcn1frdWjkYB//GzuhhqJ2zitxRo+Zukx1PAS59Gi\n2sAnWJTmAdw/eCyMJo2HG9R2dKmAtmMx+dgO9nNnB0+FK0sEC1SHTNWaGALmX5rT\nlIdDxeHUrjE5K/7dLC32qcqC1QIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAAbJ\nUpqzjZwgq+RV0ph33GMK2s2fyv4tbOQ+jwdsWFQrYVdBJevxu9xD1/Ou9QN+4L2T\nhXFs1WLyDWYxZyCu+4vPVYLBXzEnOqZblixiljmJ8wykYk2dyttNPOQo22ZPLTHx\nviMZ81qZu/oGGk4ia9YBsvjMLPsbFzW34xWLTiEYgiNDlPhsZxQbxOwQ6H2VsCAQ\n6c/cF0LkbZZvKunrNb//KnfF7VmPFhZQkdtuagwAX/lLdymVGockFLviYcxTP6nO\n7xUzUVcBRadZib+8dQYeRnUW2+qAQeWFfLFqQrFG9xr8UWQt8ShDWuTwZPvWnA9V\n8JmUnCIUOuoaJWZxP+Y=\n-----END CERTIFICATE REQUEST-----",
"cert": "-----BEGIN CERTIFICATE-----\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6YZUnCLHZ67Aa2wGClguL/NESUdaK4\nX7HXZhAK4Bhc+eFGKjdUzVSg65OToYnq1IVdZ+AO6JIi9xHAQthZoHu2c3ylrT/k\n/phd8Ro23sfFYs47zkk169vL/A4pKofgSjfPLhrVuEOFFZRFcl8nPt9tSUNXmQcN\nzYvDnfep4Ka81KIrMmxtocuHdDQoZvUy6U+Akrf9GNiGYUBfNCnxFQflmXKArknL\n3RqBjZWwS0zKnSN4QV/1CKHOlC5xnkviRTNNoYbSL5mRvuGiJ7+iGRu0c5NFoBM3\nuVA9Sar5VZ8xS780ONB2ud4Ci1cwdGhOqGPJugSo/qSXJuKYH7Y8W+T/Aaqg96lz\nwdSlrl7tQVkM50/eyNRsWo9lxu3Gbnf/ccdsFADAvwzyJTU8Wum8yFEHPkAHx2r7\n4fEBVi94LLz4msqGvsIBU/GUWieDVwPysZzMVABFGpS1jFYltZ3MvkJJn5h8CasA\nvOPeqLUdGSG/P7aHzyJR58s3f3Y15/tQgM5McyOvBtK0lSOKWRrmvMpF8wwiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 6 for External CA
ksctl clientmgmt clients renew --client-id b6a182a8-4f4f-4d0f-a04f-ff191d1471b5 --ext-cert ./cert.pem
The CSR file must be in the PEM
format as:
-----BEGIN CERTIFICATE-----
MIIEuTCCAqGgAwIBAgIQQW5X4dR3NWdQSsID8AZKtzANBgkqhkiG9w0BAQsFADBa
MQswCQYDVQQGEwJVUzELMAkGA1UECBMCTUQxEDAOBgNVBAcTB0JlbGNhbXAxEDAO
BgNVBAoTB0dlbWFsdG8xGjAYBgNVBAMTEUtleVNlY3VyZSBSb290IENBMB4XDTIx
MDUwNjA0MTkzN1oXDTIzMDUwNjA0MTkzN1owJjEOMAwGA1UEAxMFYWRtaW4xFDAS
BgoJkiaJk/IsZAEBEwQxMjMxMIIBIjANBgkq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nGlWEoOtwirALIXXY/GSe
CHB0e/1wTeMSSaqGHRWITVMisnIQdGJpZb0fSD/3e6Fe4deRLP+jEJo213maKLFr
27y8VH8UEK6NQiETXhj+YDXaYF4B/NHcKEMNuq155FBPR6jTYeA+sMjoXjTUMMPP
mDrUjbYu3CmhlrQfvohtbXeoa99/feaDq4hU0lNgvLjmvrco6FAAXvZtfrAIeSMs
pkfmh52sM98sBRiCLvalG7VTz71L7JdIXBfhbzjYiSEkv84hyGyjBCx1Ie8euMgC
LD0p+ZYbY0hdcGMwIg==
-----END CERTIFICATE-----
Example Response 6
{
"client_id": "b6a182a8-4f4f-4d0f-a04f-ff191d1471b5",
"key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQEAtMyZxEVwy0M/FtVKjWhkXeSxaGP8vlsfQuZJldgCFqmp72eF\n4IO6v8L+Xy/3qL26RcY9o2V51yafm6pRHZP+Flr+KeSW3i0v5l5RlWWL+q05y55i\nY9DmF6pFvB8kFnWCvhoytSxj+tlxaMGXZnrAGz+v/oxnhjCad6MQOH81SV6Qb/lI\n7nf2zXDgi194CWfM2s+Gg47KUJiprkzWiA+4Ku+KtmuehphjQhRGY2GPtfCXn6bx\nlDhjh+Q51Y/9JZEpyAN66hXU1nADQKBCyZp74te7anMss7Ye+k23Dsr9tuOAPvwY\n8EdvFXlo6Q8WY5ceuGc5rDIOAAIq6kp4/RSDCQIDAQABAoH/CeMmhZVGldcXnCgN\n663Jz1iyWwMcz0wsaXwuigNGGfctU+pVZ/HMRLBlOM9mu9OkXCx7MnRaNWnnUJv/\n055ERvSy8ZeOqJfQBskhrQngndTbVEdVGiBSdPja127cil3iyIKmQ0IqNY2upgvw\nO6p61wKknUcQYkZGLES+nlhWkayCr633PnQTVW2NPb5olkv/P/qNS9SEI3BEA/We\nyi5iW3NjL3pOgE4LEUf/oQm9URsr9t0LGYbf3wviTUrizEgGhnCOTZRJZD/hTBOp\nmBGIt3UMp5jzqs6WHqmTUxv8kB4AAfZu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NjJfeGqdCuetv2RhF5RYb0TkecER0TpXc2/6wgFWOpAKvB1jDNXJFjg\nzJK0K+4Kkuwx0odI0brD/NdmivfW6gneMfKMuQxEpHc7AnVNst+OL4U6oky9vCOz\nvMyb3ysF7fXnE7ltRWgg8YrlqHucP+kAkU0XvNv664N8qlMb6gjFqb+xG2njrzHA\nHSNnDwRwNdjB0410kMgkBzo8v6doIjJcZGZQy0RGuzz8mse0KeqaCQwgAlEB+UW9\nN6dReEK03W7IS50JK6Bu2F82zA6teCKVWWhncDVfmDS+UYYYXYs5DRmOp7a+Ly1s\nEb9aDFDkEW1foheJakWXQAjdhWAgJYO4lMp7DKunFB5QunPWp38rX1hC1A4CKAkg\nxXVj92YLoLmTQWOHeG3IQ8mJZ1z2a86RqvWBsQzeMqA1VJRFEa/QE6p7c/oKOks+\n+fpqqQ==\n-----END CERTIFICATE-----\n"
}
Self-Renew Client Certificates using ksctl
To self-renew client certificate, run:
Syntax
ksctl clientmgmt clients self renew --cert-duration <Duration-in-days> --clientcsr <CSR-signed-by-Local-CA> --subject-dn-field-to-modify <Subject-Distinguished-Name> --do-not-modify-subject-dn --alg <Algorithm> --cn <Common Name> --dns <Subject Alternative Names> --email <E-mail-Addresses> --enc-alg <Private key encryption algorithm> --ips <IP-Addresses> --names <{O:organization, OU:organization unit, C:country, ST:state/province, L:location> --pass <Password to PEM-encrypt the private key> --private-key-bytes <Private Key bytes of the key> --size <Key size>
Example Request 1
ksctl clientmgmt clients self renew --cert-duration 1000 --alg ecdsa --dns *.thalesgroup.com --email contact@thalesgroup.com --enc-alg AES256 --ips 1.1.1.1 --names {O:Thales Group,OU:RnD,C:US,ST:MD,L:Belcamp} --pass KeySecure_1 --private-key-bytes -----BEGIN EC PRIVATE KEY-----\nMHcCAQEEIEj1iesPsLdk0tM7Jv87sruegOPdmji9SY3s3ncdckxqoAoGCCqGSM49\nAwEHoUQDQgAEL8cvuduRZs6e/vsttMlhi9HxV+0FzhCg/zHUmXNmyH5KlmQgoaql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EKDP7SID/Mph7P3eDkAX8auHTRPQEM+iyTkWRx6ohvjpjgI+S\nawbGlrFwX5BAk+epiWVLimr644aLyAZh8tf5rT4EcbqtWeQQwpJZDhmd+ykk42Kn\nnDRcs5LpMNPX5IqsdZ0D8dPhhpShqheG+C7pCE6SgEZM8LtwHprKp1XjkIK9g5Yg\nRFAuSN8=\n-----END CERTIFICATE-----\n"
}
Example Request 2
ksctl clientmgmt clients self renew --cert-duration 100
Example Response 2
{
"client_id":"1e04f15f-0de7-4e13-9c5d-2a84e26ee947",
"key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAt/6mVPE+16G0WcwXDnM5XVX8yyg3XqkHDXWjigdK0K3OLtUX\ndweXQ9wTm/DUr7njEXJ+qM7twNP/D5fA9V08+/qMjOGBafI0uS4TGp3SXMzJ5KDc\n6zbNoV7+lbAG/x4RpVpPDK0Mzd/4w0YnkREmFx/I7oqGVLrjm/Qdz1FC/qLqOUMp\n9DNcbNVo3IKhV0e96rH0nl97qhSTUDtykF2VYwLRrYxKTygKo2pn1Hgi2+4VMjH6\nhWtM32raJFXTQdiTUrauM9lOySnTrXvtlKJmY1Fc7akSTLaJTtKSR2z6XiEmruOJ\n8B1Xpkhqq3X6iBFlfgye77+uWuGUW7xFpKu3TQIDAQABAoIBAHaQMrCz0FH1Upk2\nyXi3STTa7w4euSdXdkL3Fk4gitZT2XQWPoumKZRB4aTwGK2v9CFPDU1MIqrKMSbk\nHCRAU8bv2dgCjHkv6UeW6BqTrnW8RTD9c75iTzl4VEcy6h9FSguqWRwK+yBC/jMf\nJun1Cf2Grt0ACLXaxEa/lOH+NFSOoPh+FPISxYq7/XhrmLevlgNby1UQLMbFi2b7\nRVE4cd2POwIIzN15LN1SvRtxBYj+r4Y75fO46sgCUD9r2gP3PT/2ENcx3r57JR4b\n7Ghmuzgj25HR7ki0zJHjgH7hNX+1Yh3VGuWNjqPU4IeAeB2jTGpcOTAVp/o4vtGY\nFb5UZMECgYEA2cm9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knL\n3RqBjZWwS0zKnSN4QV/1CKHOlC5xnkviRTNNoYbSL5mRvuGiJ7+iGRu0c5NFoBM3\nuVA9Sar5VZ8xS780ONB2ud4Ci1cwdGhOqGPJugSo/qSXJuKYH7Y8W+T/Aaqg96lz\nwdSlrl7tQVkM50/eyNRsWo9lxu3Gbnf/ccdsFADAvwzyJTU8Wum8yFEHPkAHx2r7\n4fEBVi94LLz4msqGvsIBU/GUWieDVwPysZzMVABFGpS1jFYltZ3MvkJJn5h8CasA\nvOPeqLUdGSG/P7aHzyJR58s3f3Y15/tQgM5McyOvBtK0lSOKWRrmvMpF8wwiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 3
ksctl clientmgmt clients self renew --subject-dn-field-to-modify CN
Example Response 3
{
"client_id":"1e04f15f-0de7-4e13-9c5d-2a84e26ee947",
"key":"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAt/6mVPE+16G0WcwXDnM5XVX8yyg3XqkHDXWjigdK0K3OLtUX\ndweXQ9wTm/DUr7njEXJ+qM7tw NP/D5fA9V08+/qMjOGBafI0uS4TGp3SXMzJ5KDc\n6zbNoV7+lbAG/x4RpVpPDK0Mzd/4w0YnkREmFx/I7oqGVLrjm/Qdz1FC/qLqOUMp\n9DNcbNVo3IKhV0e96rH0nl97qhSTUDtykF2VYwLRrYxKTygKo2pn1Hgi2+4VMjH6\nhWtM32raJFXTQdiTUrauM9lOySnTrXvtlKJmY1Fc7akSTLaJTtKSR2z6XiEmruOJ\n8B1Xpkhqq3X6iBFlfgye77+uWuGUW7xFpKu3TQIDAQABAoIBAHaQMrCz0FH1Upk2\nyXi3STTa7w4euSdXdkL3Fk4gitZT2XQWPoumKZRB4aTwGK2v9CFPDU1MIqrKMSbk\nHCRAU8bv2dgCjHkv6UeW6BqTrnW8RTD9c75iTzl4VEcy6h9FSgu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fCJJxBCO6YZUnCLHZ67Aa2wGClguL/NESUdaK4\nX7HXZhAK4Bhc+eFGKjdUzVSg65OToYnq1IVdZ+AO6JIi9xHAQthZoHu2c3ylrT/k\n/phd8Ro23sfFYs47zkk169vL/A4pKofgSjfPLhrVuEOFFZRFcl8nPt9tSUNXmQcN\nzYvDnfep4Ka81KIrMmxtocuHdDQoZvUy6U+Akrf9GNiGYUBfNCnxFQflmXKArknL\n3RqBjZWwS0zKnSN4QV/1CKHOlC5xnkviRTNNoYbSL5mRvuGiJ7+iGRu0c5NFoBM3\nuVA9Sar5VZ8xS780ONB2ud4Ci1cwdGhOqGPJugSo/qSXJuKYH7Y8W+T/Aaqg96lz\nwdSlrl7tQVkM50/eyNRsWo9lxu3Gbnf/ccdsFADAvwzyJTU8Wum8yFEHPkAHx2r7\n4fEBVi94LLz4msqGvsIBU/GUWieDVwPysZzMVABFGpS1jFYltZ3MvkJJn5h8CasA\nvOPeqLUdGSG/P7aHzyJR58s3f3Y15/tQgM5McyOvBtK0lSOKWRrmvMpF8wwiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 4
ksctl clientmgmt clients self renew --clientcsr ./csr.pem
The certificate file must be in the PEM
format as:
-----BEGIN CERTIFICATE REQUEST-----
MIICejCCAWICAQAwNTEzMDEGA1UEAxMqdG9rZW4yMDk5YWI5MjktMTk0Zi00ZThi
LTkwZWMtNTk1Mjc5NTgzYWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC
AQEAsKKO2wJspkm8eeVJZ6r9aexy4Nk+7vlaMsVgTBjI2yZrtgbkbNFQah1cwKny
C3ZNF5X4USFGhFs+msgoCEFUb3leMQb7WS6yPsRgM4Z4E3WIu9bDNBp9MUXuSE1k
z6uv9qbDLD9TVghkMIIU6wJuCS3OidIww8ZtZEkhQvU91QpmGSOAhWYonCd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kXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Example Request 5
ksctl clientmgmt clients self renew --clientcsr ./csr.pem --do-not-modify-subject-dn
Example Response 5
{
"client_id": "1e04f15f-0de7-4e13-9c5d-2a84e26ee947",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICejCCAWICAQAwNTEzMDEGA1UEAxMqdG9rZW4yMDk5YWI5MjktMTk0Zi00ZThi\nLTkwZWMtNTk1Mjc5NTgzYWNlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\nAQEAsKKO2wJspkm8eeVJZ6r9aexy4Nk+7vlaMsVgTBjI2yZrtgbkbNFQah1cwKny\nC3ZNF5X4USFGhFs+msgoCEFUb3leMQb7WS6yPsRgM4Z4E3WIu9bDNBp9MUXuSE1k\nz6uv9qbDLD9TVghkMIIU6wJuCS3OidIww8ZtZEkhQvU91QpmGSOAhWYonCdRvNaC\noqKGbDrfRU+7siK8+L0rea+lcn1frdWjkYB//GzuhhqJ2zitxRo+Zukx1PAS59Gi\n2sAnWJTmAdw/eCyMJo2HG9R2dKmAtmMx+dgO9nNnB0+FK0sEC1SHTNWaGALmX5rT\nlIdDxeHUrjE5K/7dLC32qcqC1QIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAAbJ\nUpqzjZwgq+RV0ph33GMK2s2fyv4tbOQ+jwdsWFQrYVdBJevxu9xD1/Ou9QN+4L2T\nhXFs1WLyDWYxZyCu+4vPVYLBXzEnOqZblixiljmJ8wykYk2dyttNPOQo22ZPLTHx\nviMZ81qZu/oGGk4ia9YBsvjMLPsbFzW34xWLTiEYgiNDlPhsZxQbxOwQ6H2VsCAQ\n6c/cF0LkbZZvKunrNb//KnfF7VmPFhZQkdtuagwAX/lLdymVGockFLviYcxTP6nO\n7xUzUVcBRadZib+8dQYeRnUW2+qAQeWFfLFqQrFG9xr8UWQt8ShDWuTwZP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CAgEACEE+oAGb2HTtEvshvAu4iSJe3Z3mx31Ei3/o\nMSEkyoP/aotxfrVsgFNQNtPvvGfCJJxBCO6YZUnCLHZ67Aa2wGClguL/NESUdaK4\nX7HXZhAK4Bhc+eFGKjdUzVSg65OToYnq1IVdZ+AO6JIi9xHAQthZoHu2c3ylrT/k\n/phd8Ro23sfFYs47zkk169vL/A4pKofgSjfPLhrVuEOFFZRFcl8nPt9tSUNXmQcN\nzYvDnfep4Ka81KIrMmxtocuHdDQoZvUy6U+Akrf9GNiGYUBfNCnxFQflmXKArknL\n3RqBjZWwS0zKnSN4QV/1CKHOlC5xnkviRTNNoYbSL5mRvuGiJ7+iGRu0c5NFoBM3\nuVA9Sar5VZ8xS780ONB2ud4Ci1cwdGhOqGPJugSo/qSXJuKYH7Y8W+T/Aaqg96lz\nwdSlrl7tQVkM50/eyNRsWo9lxu3Gbnf/ccdsFADAvwzyJTU8Wum8yFEHPkAHx2r7\n4fEBVi94LLz4msqGvsIBU/GUWieDVwPysZzMVABFGpS1jFYltZ3MvkJJn5h8CasA\nvOPeqLUdGSG/P7aHzyJR58s3f3Y15/tQgM5McyOvBtK0lSOKWRrmvMpF8wwiNwik\n0gz2OzryK/BkXO7iNO4GRFNj/ynmMXFZuSwlL8HRLjU0yEjwXKLZmGPUFzgpW9LX\nJW+cMJE=\n-----END CERTIFICATE-----\n"
}
Client Certificate Expiration Check
The CipherTrust Manager inspects the expiration date of all the registered client's certificates everyday, at a preset system time to log the record.
The CipherTrust Manager then creates list of certificates based on their expiration date:
Certificates whose expiration dates are within 91 days.
This list is logged in the Records section once every week.
Certificates whose expiration dates are within 7 days.
This list is logged in the Records section once every day.
Certificates that are already expired.
This list is logged in the Records section once every day.
You can also create alarm triggers for these records. For more details, go to Creating Alarm Trigger for Client Certificate Expiration.