docs/documentation/platform/pki/certificate-syncs/netscaler.mdx
Prerequisites:

2. Select the **NetScaler** option.

3. Configure the **Destination** to where certificates should be deployed, then click **Next**.
- **NetScaler Connection**: The NetScaler Connection to authenticate with.
- **SSL vServer Name** (Optional): The name of the SSL virtual server to bind the certificate to. Leave empty to only upload the certificate without binding to a vserver.

4. Configure the **Sync Options** to specify how certificates should be synced, then click **Next**.
- **Enable Removal of Expired/Revoked Certificates**: If enabled, Infisical will remove certificates from the NetScaler if they are no longer active in Infisical.
- **Preserve Certificate on Renewal**: When enabled, a renewed certificate will update the existing certkey object in place, preserving the same name and vServer bindings. When disabled, a new certkey is created alongside the original.
- **Certificate Name Schema** (Optional): Customize how certificate names are generated. Must include `{{certificateId}}` as a placeholder. If not specified, defaults to `Infisical-{{certificateId}}`.
- **Auto-Sync Enabled**: If enabled, certificates will automatically be synced when changes occur.

5. Configure the **Details** of your NetScaler Certificate Sync, then click **Next**.
- **Name**: The name of your sync. Must be slug-friendly.
- **Description**: An optional description for your sync.

6. Select which certificates should be synced to NetScaler.

7. Review your NetScaler Certificate Sync configuration, then click **Create Sync**.

8. If enabled, your NetScaler Certificate Sync will begin syncing your certificates to the destination endpoint.

</Tab>
<Tab title="API">
To create a **NetScaler Certificate Sync**, make an API request to the [Create NetScaler PKI Sync](/api-reference/endpoints/pki/syncs/netscaler/create) endpoint.
### Sample request
<Note>
You can optionally specify `certificateIds` during sync creation to immediately add certificates to the sync.
If not provided, you can add certificates later using the certificate management endpoints.
</Note>
```bash Request
curl --request POST \
--url https://app.infisical.com/api/v1/cert-manager/syncs/netscaler \
--header 'Authorization: Bearer <access-token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "my-netscaler-cert-sync",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "an example certificate sync",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination": "netscaler",
"isAutoSyncEnabled": true,
"certificateIds": [
"550e8400-e29b-41d4-a716-446655440000"
],
"syncOptions": {
"canRemoveCertificates": true,
"preserveItemOnRenewal": true,
"certificateNameSchema": "myapp-{{certificateId}}"
},
"destinationConfig": {
"vserverName": "vs-ssl-prod"
}
}'
```
### Sample response
```json Response
{
"pkiSync": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "my-netscaler-cert-sync",
"description": "an example certificate sync",
"destination": "netscaler",
"isAutoSyncEnabled": true,
"destinationConfig": {
"vserverName": "vs-ssl-prod"
},
"syncOptions": {
"canRemoveCertificates": true,
"preserveItemOnRenewal": true,
"certificateNameSchema": "myapp-{{certificateId}}"
},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2026-03-31T00:00:00.000Z",
"updatedAt": "2026-03-31T00:00:00.000Z"
}
}
```
</Tab>
The NetScaler Certificate Sync provides:
sslcertkey objects with customizable naming.When syncing certificates, Infisical performs the following steps on the NetScaler appliance via the NITRO REST API:
.cer) to /nsconfig/ssl/..key) to /nsconfig/ssl/.sslcertkey object linking the cert and key.When a certificate is renewed in Infisical, the behavior depends on the Preserve Certificate on Renewal option:
When certificate removal is enabled and a certificate is no longer active in Infisical:
sslcertkey object./nsconfig/ssl/.You can manually trigger certificate synchronization to NetScaler using the sync certificates functionality. This is useful for:
To manually sync certificates, use the Sync Certificates API endpoint or the manual sync option in the Infisical UI.