Skip to content
Documentation / Deployment Plugin Source Control

Deployment Plugin Source Control

Check the published Client Server release in Versions. See application upgrades and rollback for updating and recovery.

Team Playbook Version Control

Keep custom Deployment Plugins in GitHub, Bitbucket Cloud or GitLab while SSLNexus continues to validate and execute them locally. The organisation controls the repository boundary; each administrator connects their own source-control identity for repository access and attribution.

How The Connection Model Works

Source control has two layers. The organisation configures one account, workspace or group for each provider it chooses to use. Administrators then connect their own provider identities.

LayerPurpose
Organisation connectionDefines the approved GitHub account, Bitbucket workspace or GitLab group/namespace and the OAuth/App credentials used by this SSLNexus organisation.
Administrator identityEach administrator authorises their own provider identity. Pull/publish actions use that individual connection rather than a shared personal token.
Only Deployment Plugin definitions and playbooks are published. Plugin secret values remain in the protected SSLNexus secret store.

Before Configuring A Provider

  1. Open Deployment Plugins → Source control.
  2. Copy the OAuth callback URL shown in Organisation connection.
  3. Create the provider application/App using that exact callback URL.
  4. Return to SSLNexus, enter the provider details, and select Save organisation connection.
  5. Each administrator who needs repository access then selects Connect my identity.

The callback must match exactly, including scheme, hostname and path. Configure the public/admin HTTPS hostname before creating the provider application if the server is still being accessed by IP address.

GitHub

Use a GitHub App for the organisation connection. Give the App repository metadata read access and repository contents read/write access, then install it only on the account and repositories that may hold SSLNexus plugins.

  1. Create the GitHub App using the callback URL shown by SSLNexus.
  2. Enter the GitHub organisation/user login as Account.
  3. Enter the App client ID, client secret and App slug.
  4. Save the organisation connection.
  5. Select Install app and limit the installation to the required repositories.
  6. Each administrator selects Connect my identity.

Bitbucket Cloud

Create an OAuth consumer for the workspace and configure repository read/write access. Use the workspace slug as the organisation account value in SSLNexus.

  1. Create the OAuth consumer with the exact callback URL shown by SSLNexus.
  2. Enter the Bitbucket workspace slug, consumer key and consumer secret.
  3. Save the organisation connection.
  4. Each administrator selects Connect my identity and authorises their own Bitbucket account.

GitLab

Create an OAuth application with API access. GitLab.com is supported directly; for self-managed GitLab, enter its HTTPS base URL.

Private-network protection: self-managed GitLab URLs are checked before saving and again when SSLNexus connects. Loopback, link-local, private and other non-public destinations are rejected by default. If the intended GitLab service is deliberately hosted on a private network reachable from the Client Server, explicitly opt in with SSL_NEXUS_ALLOW_PRIVATE_GITLAB=true.
  1. Create the OAuth application with the callback URL shown by SSLNexus and API access.
  2. Enter the group/namespace, application ID and application secret.
  3. For self-managed GitLab, enter the HTTPS base URL.
  4. Save the connection and have each administrator connect their own identity.

Pull, Edit And Publish

Repository operations live inside the Deployment Plugins page and feed the same editor and validation pipeline used for local plugins.

  1. Select the connected provider.
  2. Select the repository and branch.
  3. Set the plugin path, for example ssl-nexus-plugins/nginx-custom.
  4. Use Pull into editor to import or refresh a repository plugin.
  5. Configure any local secret values, then run Test.
  6. Use Publish current plugin to save/validate locally and commit the portable files to the repository.
ssl-nexus-plugins/
├── nginx-custom/
│   ├── plugin.json
│   ├── test.yaml
│   ├── deploy.yaml
│   ├── verify.yaml
│   └── rollback.yaml
└── windows-custom/
    ├── plugin.json
    ├── test.yaml
    └── deploy.yaml

What Is And Is Not Published

SSLNexus publishes only the portable plugin definition:

  • plugin.json
  • test.yaml
  • deploy.yaml
  • verify.yaml
  • rollback.yaml

Secret names remain in plugin.json so another administrator or SSLNexus installation knows what local values must be configured. The actual passwords, API tokens and other secret values are never uploaded.

Never hard-code a password, API token, certificate private key or other secret directly into a playbook. Declare a Secret name and store its value in SSLNexus.

Approve The Saved Plugin Version

Save the definition, review its playbooks and SHA-256 digest, and run Test against a non-production target. An organisation administrator must select Approve saved version before production Deploy, Verify or Rollback can run. Any change to the saved plugin files invalidates approval. Keep that version unchanged until the active deployment and any rollback finish.

The review digest and administrator identity are recorded in the audit log; an unavailable audit store prevents approval. Approval records are authenticated locally using the installation's protected key. This is not a public publisher signature or enforced two-person review. Protect administrator accounts and repository branches as well as reviewing the code.

Credentials Scoped To The Selected Target

Custom Linux jobs require that target's dedicated SSH private key or password; they cannot fall back to the installation-wide managed SSH key. Configure the dedicated key in Deployment targets and install its public key only on the intended target. Windows jobs receive the selected target's WinRM credential. Each job receives only its declared plugin secrets and certificate artifacts, with temporary connection material staged in volatile runtime storage.

Dedicated target SSH keys and declared plugin secrets are encrypted at rest using AES-256-GCM. Existing plaintext plugin secret files are migrated when read. Old backups or interrupted-job files may still contain previous plaintext values: apply your retention policy. A credential deliberately reused on multiple machines can still grant access to those machines from the selected target. Least-privilege accounts and target-side network controls remain necessary.

Custom Playbook Sandbox

From Client Server 1.0.10, custom deployment playbooks use isolated jobs with administrator approval of the saved code digest. Check the installed release and deployment-plugin guide for host prerequisites and remaining limits. Syntax validation, Test, Deploy, Verify and Rollback use this isolation boundary. The host must provide the documented systemd isolation and network filtering; jobs are refused when those controls are unavailable.

BoundaryEnforced Scope
Controller filesEach job sees its own workspace and system runtime. The SSLNexus configuration, database, full certificate estate, secret store, home directories and management sockets are not mounted into it. Only the selected plugin files, target connection material, job certificate artifacts and declared plugin secrets are staged.
Direct network accessThe job can communicate only with the selected remote target IP addresses. Names are resolved and pinned before execution. Other destinations, controller addresses and host IPC sockets are blocked. Syntax checks have no target credentials and no network allowance. External API calls, DNS lookups and delegation to another host require a different design; they do not silently bypass isolation.
Privileges and lifetimeThe controller-side job has no root privileges or capabilities. Filesystem writes stay in its workspace. Time, process, memory and output-file limits apply; cancellation stops its process group through systemd. Missing broker or kernel network enforcement causes execution to be refused, with no unsandboxed fallback.
Selected targetRemote commands still have the target account's privileges, including configured sudo or Windows administration. Test is not automatically read-only. A playbook can damage that target, disclose supplied job secrets to it, or use its network access to pivot. Use a dedicated target credential, least-privilege accounts and restricted target egress; never reuse that identity across the estate.

The sandbox limits controller access and direct network reach; it is not a command allowlist or a guarantee that remote application changes are harmless. Review code, protect repository branches, restrict deployment credentials and test against a non-production target. Optional rollback is a recovery attempt, not a transaction.

Custom SSH jobs use existing host-key pins; verify the registered target connection before its first custom Test. Custom plugins currently support remote Linux SSH and Windows WinRM targets. Controller-local targets and multi-host custom jobs are refused. Built-in deployment adapters retain their existing execution flow. The sandbox requires a Linux systemd host with cgroup BPF network filtering, bpftool and the installed sandbox broker. Restricted containers may not provide those capabilities.

Protect The Repository And Target Credentials

  • Require reviewed pull requests, protected production branches and tightly limited write access. Use the selected repository installation scope and individual administrator identities.
  • Use dedicated deployment accounts with only the required paths, services and API permissions. Restrict sudo or Windows administration rights rather than relying on a plugin definition to limit them.
  • Review shell commands, local tasks, delegation, file reads, lookups and outbound requests. Avoid logging secrets and test against a non-production target first.
  • Provide explicit verification and an idempotent rollback playbook where recovery matters. Keep a tested backup and separate recovery access.

Tier And Effective Licence

Custom deployment plugins and source-control integration are included in the Enterprise base profile and the standard Enterprise Trial. They have separate permissions: repository access does not grant permission to execute custom plugins. The effective licence must permit both the required feature and the selected deployment platform. Explicit entitlements can adjust a base profile; pairing with an MSP does not bypass them.

Built-in adapters do not require custom-plugin or source-control access. Free uses one web-server adapter, Apache or Nginx, chosen by the first certificate issued under Free. Starter includes both Linux web-server adapters. Business adds IIS. Enterprise covers the wider application and network adapter catalogue, including Tomcat, Exchange, FortiGate, NetScaler and Kubernetes. Kemp LoadMaster supports certificate upload; activation, HA coordination and rollback are managed separately. Compare tier capabilities and check adapter scope.

Recommended Team Workflow

Treat the repository as the collaborative source for the playbook definition and SSLNexus as the execution and secret boundary. Teams can review plugin changes in their existing repository workflow while production deployment remains in the SSLNexus lifecycle, with separately run Test and optional Verify and Rollback playbooks.

Changing the organisation account/client configuration requires administrators to reconnect their provider identities. Disconnecting an identity removes its locally stored OAuth token.

Deployment Plugin Guide →

Approval And Execution Evidence

A repository commit or publisher signature does not replace local review. Approve the saved staged SHA-256; changes invalidate it. Production authorization and outcome records identify the approved and executed hashes, execution ID and associated target/job. An incomplete outcome needs reconciliation. The same digest remains pinned across lifecycle stages.

Key Protection And Encryption Scope

Protect target credentials, dedicated SSH and WinRM authentication keys, and declared custom-plugin secrets according to the security controls available in your installed release. Managed certificate private-key and PFX encryption, where supported, requires explicit enablement and successful migration; do not assume every stored artifact or backup is encrypted. Check the local keystore state and migration guidance before relying on encryption at rest.

The encryption master key is a protected local 32-byte file on the customer installation. SSLNexus does not natively wrap this key with an HSM or cloud KMS. Audit certificate private keys, stored credentials and the master key separately. Restrict filesystem access and use independently encrypted disks and backup storage where required.

Recovery requires the original credential master key and, when enabled, the original keystore unlock key and state alongside the matching database, configuration and certificate artifacts. A newly generated replacement cannot decrypt existing records. Preserve a protected recoverable copy and verify a restore on an isolated host before relying on your recovery procedure. The installed read-only key audit reports protection defects and authenticates stored target ciphertext; it does not establish encryption of every file or external system.

See Security Guidance, Recovery and Independent Monitoring and the Private Key Policy.