Skip to main content

Documentation Index

Fetch the complete documentation index at: https://infisical.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Deploy certificates to Citrix NetScaler ADC appliances via the NITRO API. Certificates can be automatically bound to SSL virtual servers for seamless load balancer integration.
Certificate Syncs are configured per Application. First select which certificates to sync, then configure the NetScaler destination.

Prerequisites

  • A NetScaler Connection with NITRO API access
  • The NetScaler must be accessible over HTTPS from Infisical (directly or via an Infisical Gateway)
  • User account with permissions to manage SSL certificates and bind them to vservers

Create a NetScaler Sync

  1. In your Application, go to the Certificate Syncs tab and click Create Sync.
  2. Select the NetScaler option.
  3. Configure the Destination:
    • NetScaler Connection: The NetScaler Connection to authenticate with.
    • SSL vServer Name (Optional): The SSL virtual server to bind the certificate to. Leave empty to only upload without binding.
  4. Configure the Sync Options:
    • Enable Removal of Expired/Revoked Certificates: Remove certificates from the destination if they are no longer active.
    • Preserve Certificate on Renewal: Update the existing certkey object in place, preserving name and vServer bindings.
    • Certificate Name Schema: Customize certificate names using {{certificateId}} placeholder.
    • Auto-Sync Enabled: Automatically sync certificates when changes occur.
  5. Configure the Details:
    • Name: The name of your sync (slug-friendly).
    • Description: Optional description.
  6. Select which certificates should be synced.
  7. Review and click Create Sync.

Certificate Management

The NetScaler Certificate Sync provides:
  • Automatic Deployment: Deploy certificates in Infisical to NetScaler sslcertkey objects with customizable naming.
  • Certificate Updates: Update certificates on NetScaler when renewals occur, with optional in-place replacement.
  • vServer Binding: Automatically bind certificates to SSL virtual servers for seamless load balancer integration.
  • Expiration Handling: Optionally remove expired or revoked certificates from NetScaler (if enabled).
  • Configuration Persistence: Automatically save the NetScaler running configuration after each sync to persist changes across reboots.
NetScaler Certificate Syncs support both automatic and manual synchronization modes. When auto-sync is enabled, certificates are automatically deployed as they are issued or renewed.

How It Works

When syncing certificates, Infisical performs the following steps on the NetScaler appliance via the NITRO REST API:
  1. Logs in to the NetScaler NITRO API using the configured credentials.
  2. For each certificate:
    • Uploads the certificate file (.cer) to /nsconfig/ssl/.
    • Uploads the private key file (.key) to /nsconfig/ssl/.
    • Creates or updates an sslcertkey object linking the cert and key.
    • If a vServer is configured, binds the certkey to the SSL virtual server.
  3. Saves the running configuration to persist changes across reboots.
  4. Logs out of the session.

Certificate Renewal Behavior

When a certificate is renewed in Infisical, the behavior depends on the Preserve Certificate on Renewal option:
  • Preserve enabled (default): The existing certkey object is updated in place with the new certificate content. The certkey name and any vServer bindings are preserved. This is ideal for production environments where services reference the certkey by name.
  • Preserve disabled: A new certkey object is created with a unique name. The original certkey remains on the NetScaler. Both certificates coexist until the original is revoked or removed.

Removing Certificates

When certificate removal is enabled and a certificate is no longer active in Infisical:
  1. Unbinds the certificate from any configured SSL virtual server.
  2. Deletes the sslcertkey object.
  3. Deletes the certificate and key files from /nsconfig/ssl/.
  4. Saves the configuration.

Manual Certificate Sync

You can manually trigger certificate synchronization to NetScaler using the sync certificates functionality. This is useful for:
  • Initial setup when you have existing certificates to deploy
  • One-time sync of specific certificates
  • Testing certificate sync configurations
  • Force sync after making changes
To manually sync certificates, use the Sync Certificates API endpoint or the manual sync option in the Infisical UI.

FAQ

NetScaler does not support importing certificates back into Infisical due to the nature of NetScaler appliances where private keys cannot be extracted from the system.

What’s Next?

AWS Certificate Manager

Import certificates into ACM for AWS services.

Auto-Renewal

Enable automatic certificate renewal and syncing.

Alerting

Get notified about certificate lifecycle events.

Other Sync Destinations

View all supported sync destinations.