Attempting to create a CSR via the NetScaler GUI results in the error message: "Cannot create output file already exists."
Issue occurs on NetScaler VPX (On-Prem / Hypervisor platforms).
The file name specified in the CSR creation form matches an existing .csr or .key file already located in the /nsconfig/ssl/ directory. NetScaler prevents overwriting existing SSL files directly through the wizard.
To resolve this issue, you must either remove the conflicting file or use a new, unique file name for the CSR.
Navigate to Traffic Management > SSL > SSL Files.
Go to the CSR tab (or Keys tab, depending on which file name conflicts).
Locate the existing file that matches the name you entered in the wizard.
Select the file and click Delete.
Retry generating the CSR with your preferred name.
Re-open the Create CSR wizard.
Provide a new, distinct name in the Certificate Request File Name field (e.g., append the current year or version: domain_2026.csr).
Connect to the NetScaler appliance via SSH using an administrative account.
Change directory to the SSL configuration path:
cd /nsconfig/ssl
Identify and remove the duplicate .csr or .key file:
rm old_filename.csr old_filename.key
Return to the GUI and proceed with creating your CSR.
When generating a Certificate Signing Request (CSR) on NetScaler, the operation fails with the error "Cannot create output file already exists." This happens when a file with the target name already exists in the local SSL directory (/nsconfig/ssl/).
Feedback submitted!