CodeSign Secure Documentation
  • Overview
    • About CodeSign Secure
    • Getting Started
    • Documentation Guide
    • Portal Overview
    • Troubleshooting
      • FAQ
    • Glossary
  • Reference Guide
    • Header Bar
      • CodeSign Secure Documentation
      • Swagger API
      • Profile Section
    • Dashboard
      • Key Performance Indicators
      • Issued Certificates
      • Signatures Generated
      • HSM Health Check
    • Keys and Certificates
      • Key and Certificate Lifecycle
    • App Management
    • Signing Requests
      • Approval Workflows
    • Signing Tools
    • Reports
      • Signing Request Report
      • Audit Trail
      • Certificate Report
      • Client Report
    • Logs
    • System Setup
      • Identity Store
      • Backup
      • User
      • Roles and Permissions
      • Email
      • Signing Projects
      • SSL/TLS Management
      • Environment
      • Plugins
  • Setup & Architecture
    • Identity and Access Control
    • Architecture and Concepts
    • Installation
      • Windows
        • Installing the Server
        • Ports and Protocols
        • High Availability and Backup
        • Upgrades and Compatibility
    • Security
      • Security Hardening Checklist
      • Client Authentication
      • Designing Signing Policies
  • Release Notes
    • Releases for 2026
      • v3.2.1
    • Releases for 2025
      • v3.2.0
    • Releases for 2024
      • v3.1.0
  • API Reference
    • Getting Started
    • Authorizing Requests
    • Securing API Access
    • Request and Response Conventions
    • Endpoint Reference
      • Signing
      • Signing Requests
      • Certificates
      • Applications and Environments
      • User Management
      • Permissions
      • Email
      • System Setup
      • Reports
      • Dashboard
      • License
  • Integration Guides
    • Signing Capabilities
      • Supported Formats and Platforms
      • Timestamping
      • Windows Signing - SignTool
        • Signing
        • Macro Signing
      • Apple Signing
      • AppX & MSIX Signing
      • Visual Studio ClickOnce
      • Jar Signing
      • Sign HLK/HCK using CodeSign Secure
      • NuGet Signing
      • Mage Signing
      • Sign OVA/OVF using Encryption Consulting’s Utility Tool
      • Utility Tool for code signing
      • Container Signing
      • PKCS11 Wrapper
        • APK Signing
        • OpenSSL Signing
        • XML Signing
        • JSign Tool Signing
        • Jarsigner Signing
        • GPG2, Debian & RPM Signing
      • Reproducible Build
        • Automated Hash Validation
        • Reproducible Build Process Flow
        • Pipeline Script Components
        • Hash Validation
    • CI/CD Integration
      • GitHub Actions
      • Jenkins
      • GitLab
      • Azure DevOps
      • TeamCity
      • Bamboo
      • Securing CI/CD Credentials

System Setup

The System Setup endpoints return appliance information and status, list and stop backups, issue client authentication certificates, manage the portal TLS certificate, configure Loki and Splunk log forwarding, and create support packages.

For the corresponding user interface, refer to the System Setup section.

Endpoints

MethodEndpointDescription
GET/system_setup/GetSystemInfoToolGet appliance information
GET/system_setup/backup_list/List backups
POST/system_setup/generate_p12/Issue a client authentication certificate
POST/system_setup/generate_tls_csr/Generate a TLS signing request
GET/system_setup/get_plugins/List available plugins
POST/system_setup/import_tls/Install a TLS certificate
GET/system_setup/maintenance/Get appliance status
POST/system_setup/maintenance/support_package/Create a support package
POST/system_setup/oltp_loki_logging/Configure Loki log forwarding
POST/system_setup/oltp_loki_logging/{action}/Control Loki log forwarding
POST/system_setup/oltp_splunk_logging/Configure Splunk log forwarding
POST/system_setup/oltp_splunk_logging/{action}/Control Splunk log forwarding
POST/system_setup/stop_backup/Stop the running backup
GET/system_setup/tls_records/List TLS certificates
GET/system_setup/tls_records/status/Get the TLS renewal reminder state
PUT/system_setup/tls_records/status/Set the TLS renewal reminder state
GET /system_setup/GetSystemInfoTool

Returns basic information about the appliance, used by the client tools.

Example Request

curl -X GET "https://<your domain>/api/system_setup/GetSystemInfoTool" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
GET /system_setup/backup_list/

Returns the backup archives held on the appliance, with the date of each.

Example Request

curl -X GET "https://<your domain>/api/system_setup/backup_list/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
POST /system_setup/generate_p12/

Issues a client certificate that a signing tool presents when connecting. The file is returned by the response; its password is sent in the X-Certificate-Password response header.

Request Body (application/json)

FieldTypeRequiredDescription
certificate_namestringYesName for the client certificate.
usernamestringYesAccount the certificate is issued to.
expiry_daysintegerNoLifetime of the certificate in days.
algostringNoKey algorithm to use.

Example Request

curl -X POST "https://<your domain>/api/system_setup/generate_p12/" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"certificate_name":"string","username":"string","expiry_days":1,"algo":"string"}'

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/generate_tls_csr/

Generates a certificate signing request for the appliance's own web certificate.

Request Body (application/json)

FieldTypeRequiredDescription
domainstringYesDomain the certificate is for.
common_namestringYesCertificate common name.
organisationstringNoOrganisation name.
organisation_unitstringNoOrganisational unit.
localitystringNoLocality or city.
statestringNoState or province.
country_codestringNoTwo-letter country code.

Example Request

curl -X POST "https://<your domain>/api/system_setup/generate_tls_csr/" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"domain":"string","common_name":"string"}'

Responses

Status CodeDescription
200The operation completed.
GET /system_setup/get_plugins/

Returns the CI and build-tool plugins available for download.

Example Request

curl -X GET "https://<your domain>/api/system_setup/get_plugins/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
POST /system_setup/import_tls/

Installs an issued certificate for the appliance's own web service. Send as multipart/form-data.

Request Body (multipart/form-data)

FieldTypeRequiredDescription
domainstringYesDomain the certificate is for.
certificatefileYesIssued certificate.
fullchainfileYesFull certificate chain.

Example Request

curl -X POST "https://<your domain>/api/system_setup/import_tls/" \
  -H "Authorization: Bearer <token>" \
  -F "domain=<domain>" \
  -F "certificate=@<certificate file>" \
  -F "fullchain=@<fullchain file>"

Responses

Status CodeDescription
200The operation completed.
GET /system_setup/maintenance/

Returns appliance health and maintenance information, such as uptime and resource usage.

Example Request

curl -X GET "https://<your domain>/api/system_setup/maintenance/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
POST /system_setup/maintenance/support_package/

Collects appliance diagnostics into a single archive for sending to support.

Example Request

curl -X POST "https://<your domain>/api/system_setup/maintenance/support_package/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/oltp_loki_logging/

Points the appliance's log forwarding at a Loki collector.

Request Body (application/json)

FieldTypeRequiredDescription
loki_protocolstringYesProtocol to use, http or https.
loki_endpointstringYesHost name or address of the collector.
loki_portintegerYesPort the collector listens on.

Example Request

curl -X POST "https://<your domain>/api/system_setup/oltp_loki_logging/" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"loki_protocol":"string","loki_endpoint":"string","loki_port":1}'

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/oltp_loki_logging/{action}/

Starts, stops or removes the configured Loki log forwarding.

Request Parameters

NameLocated InTypeRequiredDescription
actionPathstringYesAction to perform.

Example Request

curl -X POST "https://<your domain>/api/system_setup/oltp_loki_logging/<action>/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/oltp_splunk_logging/

Points the appliance's log forwarding at a Splunk collector.

Request Body (application/json)

FieldTypeRequiredDescription
splunk_protocolstringYesProtocol to use, http or https.
splunk_endpointstringYesHost name or address of the collector.
splunk_portintegerYesPort the collector listens on.
splunk_tokenstringYesCollector authentication token.
splunk_indexstringYesIndex to write events to.

Example Request

curl -X POST "https://<your domain>/api/system_setup/oltp_splunk_logging/" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"splunk_protocol":"string","splunk_endpoint":"string","splunk_port":1,"splunk_token":"string","splunk_index":"string"}'

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/oltp_splunk_logging/{action}/

Starts, stops or removes the configured Splunk log forwarding.

Request Parameters

NameLocated InTypeRequiredDescription
actionPathstringYesAction to perform.

Example Request

curl -X POST "https://<your domain>/api/system_setup/oltp_splunk_logging/<action>/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The operation completed.
POST /system_setup/stop_backup/

Cancels a backup that is currently in progress.

Example Request

curl -X POST "https://<your domain>/api/system_setup/stop_backup/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The operation completed.
GET /system_setup/tls_records/

Returns the web certificates installed on the appliance, with their validity dates.

Example Request

curl -X GET "https://<your domain>/api/system_setup/tls_records/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
GET /system_setup/tls_records/status/

Reports whether the renewal reminder for the appliance's web certificate is currently shown.

Example Request

curl -X GET "https://<your domain>/api/system_setup/tls_records/status/" \
  -H "Authorization: Bearer <token>"

Responses

Status CodeDescription
200The requested records.
PUT /system_setup/tls_records/status/

Turns the renewal reminder on or off.

Request Body (application/json)

FieldTypeRequiredDescription
flagbooleanYesWhether the reminder should be shown.

Example Request

curl -X PUT "https://<your domain>/api/system_setup/tls_records/status/" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"flag":true}'

Responses

Status CodeDescription
200The record after the update.
On this Page:
Support Privacy Policy Terms of Service

Copyright Encryption Consulting LLC. All rights reserved.