- Overview
- Reference Guide
- Setup & Architecture
- Release Notes
- API Reference
-
Integration Guides
-
Signing Capabilities
- Supported Formats and Platforms
- Timestamping
- Windows Signing - SignTool
- 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
- Reproducible Build
- CI/CD Integration
-
Signing Capabilities
Ports and Protocols
Every network connection CodeSign Secure uses, so you can configure firewalls and proxies before you deploy.
Summary
CodeSign Secure needs one inbound port: HTTPS on TCP 443, by default, which serves both the portal and the REST API at https://<your domain>/api/. Apart from the HTTPS port, the server only needs the connections your HSM requires. Everything else in the table below is an outbound connection that you enable only for the features you use. You can configure CodeSign Secure to use another HTTPS port, such as 8443. If you do, open that port instead and include it in URLs, for example https://<your domain>:8443/api/.
Connections
| Source | Destination | Port and protocol | Purpose | Required |
|---|---|---|---|---|
| Browsers (administrators, approvers, auditors) | CodeSign Secure server or load balancer | TCP 443 by default (configurable, for example 8443), HTTPS | Portal | Yes |
| Build machines and CI agents (KSP, EC KSP for Mac, PKCS#11 Wrapper, Utility Tool, ec-signer) | CodeSign Secure server or load balancer | TCP 443 by default (configurable, for example 8443), HTTPS with client certificate | REST API under /api/ | Yes |
| Scripts and integrations | CodeSign Secure server or load balancer | TCP 443 by default (configurable, for example 8443), HTTPS | REST API | Optional |
| CodeSign Secure server | HSM | As required by your HSM. Vendor defaults: Entrust nShield Connect TCP 9004; Thales Luna Network HSM (NTLS) TCP 1792; Securosys Primus TCP 2300; Utimaco SecurityServer TCP 288. | Key generation and signing | Yes |
| CodeSign Secure server | SMTP server | The port set in Email > Config, for example TCP 587 | Notifications and approval MFA codes | Yes, if you use approvals, MFA or email alerts |
| CodeSign Secure server | login.microsoftonline.com, graph.microsoft.com | TCP 443, HTTPS | Azure AD sign-in and user and group lookups | Yes |
| CodeSign Secure server | SharePoint through Microsoft Graph (graph.microsoft.com) | TCP 443, HTTPS | Cloud backups | If the backup location is Cloud |
| CodeSign Secure server | Grafana Loki | Protocol and port set in the plugin, for example HTTP 3100 | Log export through OpenTelemetry | Optional |
| CodeSign Secure server | Splunk | Protocol and port set in the plugin | Log export through OpenTelemetry | Optional |
Note: HSM ports are vendor defaults. Confirm the port and connection direction against your own HSM configuration.
Ports that must stay closed
On a single server, MongoDB and the internal ports used between Apache, the backend, and the frontend are local to the machine. Don’t expose them on the network. Only the configured TCP port for the portal should be reachable from other hosts.
Proxies
If build machines reach the server or the timestamp authority through a proxy, allow HTTPS to the CodeSign Secure domain without TLS inspection. Clients authenticate with a client certificate, and TLS inspection breaks mutual TLS. Timestamp requests are separate connections to the TSA; see Timestamping.