Octopus Deploy Documentation

Import certificates

Last updated

Use the import certificate command to replace the certificate that Octopus Server uses to authenticate itself with its Tentacles.

Import certificate options

Usage: octopus.server import-certificate [<options>]

Where [<options>] is any of:

      --instance=VALUE       Name of the instance to use
  -f, --from-file=VALUE      Import a certificate from the specified file
                               generated by the new-certificate command or a
                               Personal Information Exchange (PFX) file
      --pw, --pfx-password=VALUE
                             Personal Information Exchange (PFX) private key
                               password
      --skipDatabaseCompatibilityCheck
                             Skips the database compatibility check
      --skipDatabaseSchemaUpgradeCheck
                             Skips the database schema upgrade checks. Use
                               with caution

Or one of the common options:

      --help                 Show detailed help for this command

Basic example

This example imports a certificate from the file OctopusServer-certificate.pfx to replace the existing certificate that the Octopus Server instance named OctopusServer uses to authenticate itself with its Tentacles:

octopus.server import-certificate --instance="OctopusServer" --from-file="C:\temp\OctopusServer-certificate.pfx" --pfx-password="Sup3r5ecretPa$$w0rd"

Need support? We're here to help.