Home Documentation Support Server Safe utilities REST API SDK

CETAN Web Application Server

The CETAN Web Application Server hosts static content and C++ web applications, including REST services built with the CETAN REST API.

CETAN Server (Linux x86_64)

Production build of the CETAN Web Application Server for Linux. Includes configuration templates and logging configuration.

Platform: Linux x86_64 Requires: GLIBC++ ≥ 3.4, g++ C++23 File: cetan-1.0.0.tar.gz
Download server SHA256

SHA256: <8e9b7255a6d1074729d8618f0d8b0ea42cd9079c24e5c1b316890e41d38bf4ec>

Place the CETAN server binary and configuration files under a dedicated directory on your Linux host. Adjust permissions and service configuration according to your environment.

Safe Library

The Safe Library provides a C++ API for working with encrypted .safe files. Developers can embed Safe directly into their applications to securely store and retrieve secrets such as passwords, API keys, and private keys.

Safe Library package

Contains the C++ headers, static library (libctn-safe.a), shared library (libctn-safe.so). Use it to create Safe files, add entries, retrieve values, and manage encrypted secrets programmatically.

File: cetan-safe-1.0.0.tar.gz
Download Safe Library SHA256

SHA256: <6324ca8334e60a6fb5a42fae63f3b551ee30ba9f646e56b37e410ab66d56c08e>

After downloading, extract cetan-safe-1.0.0.tar.gz to a preferred location. Include the include/ directory in your compiler's header search path and link against libctn-safe.a or libctn-safe.so depending on your build configuration.

Safe tool

Safe tool provide a CLI for managing encrypted .safe files used to store secrets such as passwords, API keys, and private keys.

Safe tool package

Contains the safe CLI binary and supporting files. Use it to create Safe files, add entries, retrieve values, generate salts and passwords, and compute HMACs.

File: cetan-safe-tool-1.0.0.tar.gz
Download Safe tool SHA256

SHA256: <4f30db82a17c9dc15c90a22d997d97b827bcb252b9f6a1840eff7f4ad46c85b9>

After downloading, extract cetan-safe-tool-1.0.0.tar.gz to a preferred location and ensure the safe binary is executable. You can then use it to manage secrets referenced by CETAN.

SLog Library

The SLog Library provides a lightweight, high performance C++ logging framework used throughout CETAN. It offers structured logging, log levels, timestamped entries, and pluggable output backends suitable for embedded systems, servers, and modular applications.

SLog Library package

Contains the C++ headers, static library (libctn-slog.a), shared library (libctn-slog.so). Use it to integrate structured logging into your applications, emit diagnostic messages, and build consistent logging pipelines across CETAN modules.

File: cetan-slog-1.0.0.tar.gz
Download SLog Library SHA256

SHA256: <c0570788c145dc9cca4f02c3da1ae3574eeb5b4367ec204116482c942734b2c1>

After downloading, extract cetan-slog-1.0.0.tar.gz to a preferred location. Include the include/ directory in your compiler's header search path and link against libctn-slog.a when building applications that use the SLog logging framework.

CETAN REST API SDK

The CETAN REST API SDK provides headers and libraries for building C++ REST applications that run on the CETAN Web Application Server.

REST API SDK

Includes the CETAN REST headers (include/), libraries (lib/), and example projects such as cetan-rest-101.

Language: C++23 Target: Linux server deployment
Download REST API SDK SHA256

SHA256: <dfdac59ce9f16eb9128c583c62abc2da2f65c0d20438477f60a85e53b6215575>

After extracting the SDK, copy the include and lib directories into your project and configure your build system to link against libctn-rest.so.

Sample applications: cetan-rest-101.ctn

Example applications demonstrate how to structure and deploy C++ web services on CETAN.

cetan-rest-101

A minimal REST application exposing /rest-101/greeting/hello-world using the CETAN REST API.

Artifact: cetan-rest-101.ctn
Download example

Deploy example .ctn files by placing them in the CETAN server’s lib directory and adding an <app> entry in cetan_config.xml.

Sample applications: cetan-rest-201.ctn

Advanced example applications demonstrating real-world REST patterns on the CETAN Web Application Server.

cetan-rest-201

A collection of advanced REST examples including: Request handling, query parameters, file upload processing, authentication workflows, and deploying multiple REST applications on a single CETAN server.

Artifact: cetan-rest-201.ctn
Download example

Deploy example .ctn files by placing them in the CETAN server’s lib directory and adding an <app> entry in cetan_config.xml. Multiple applications may be deployed simultaneously by assigning each a unique context path.