certutil
Verified for current stable LTS
Certutil Command: Add Subject Alternative Names To Certificate
Use for add subject alternative names to certificate with Certutil. Exact CLI syntax to add subject alternative names to certificate using Certutil.
When to use this: Use for add subject alternative names to certificate with Certutil.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
certutil -S -f <path/to/password_file.txt> -d . -t ",," -c "<server_certificate>" -n "<server_name>" -g <2048> -s "CN=<common_name>,O=<organization>" certutil -S -f <path/to/password_file.txt> -d . -t ",," -c "<server_certificate>" -n "<server_name>" -g <2048> -s "CN=<common_name>,O=<organization>" Command Breakdown
-S- Command Option
- Tool-specific option used by this command invocation.
-f- Command Option
- Tool-specific option used by this command invocation.
-d- Command Option
- Tool-specific option used by this command invocation.
-t- Command Option
- Tool-specific option used by this command invocation.
-c- Command Option
- Tool-specific option used by this command invocation.
-n- Command Option
- Tool-specific option used by this command invocation.
-g- Command Option
- Tool-specific option used by this command invocation.
-s- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to add subject alternative names to certificate using Certutil.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Certutil Command: Create New Certificate Database
certutil -N -d . Certutil Command: List All Certificates In Database certutil -L -d . Certutil Command: List Private Keys With Password File certutil -K -d . -f <path/to/password_file.txt> Certutil Command: Add Signed Certificate To Database certutil -A -n "<server_certificate>" -t ",," -i <path/to/file.crt> -d . Certutil Command: List All Certificates Database certutil -L -d .