KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: OpenSSL in 4D using System Workers
PRODUCT: 4D | VERSION: 21 | PLATFORM: Mac & Win
Published On: February 27, 2026

This document outlines the integration of OpenSSL within a 4D application environment to generate cryptographic assets using asynchronous execution patterns. This technical note leverages the 4D.SystemWorker class to enable non-blocking shell executions for generating Private Keys, Certificate Signing Requests (CSR), and self-signed certificates. The implementation demonstrates practical use cases including the production of signed XML documents for secure data exchange and the deployment of a 4D Web server configured with generated certificates. By adopting an asynchronous callback-based architecture, this integration ensures that cryptographic operations, which can be computationally intensive and time-consuming, do not interrupt the responsiveness of the user interface or block other application processes.

Download Complete Tech Note: Tech Note Document