# ns-toconnor/ssl-configure-script architecture

> Architecture diagram of the GitHub repository ns-toconnor/ssl-configure-script, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ns-toconnor/ssl-configure-script
- Repository: https://github.com/ns-toconnor/ssl-configure-script

## Overview

This repository provides cross-platform scripts that retrieve Netskope certificates, build trust bundles, configure detected developer tools, and generate deployment assets. The primary workflow runs from user input through certificate acquisition and bundle creation to host-tool configuration and replayable setup. Docker assets address container and daemon trust separately; check_ssl.js independently probes whether Node validates a TLS endpoint. Some script internals are unsampled, so those relationships rely on README documentation rather than inspected call sites.

Main entry points: [`universal_configure_tools.py`](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py) (Python configurator), [`configure_tools_unix.sh`](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_unix.sh) (Unix configurator), [`configure_tools_windows.ps1`](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.ps1) (Windows configurator), [`configure_tools_windows.cmd`](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.cmd) (Windows launcher)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Setup workflow"]
  node_universal["Python configurator"]
  node_unix["Unix configurator"]
  node_windows["Windows configurator"]
  node_launcher["Windows launcher"]
  node_certsource["Tenant cert source"]
  node_mozilla["Mozilla CA bundle"]
  node_bundle["CA bundles"]
end

subgraph group_host["Host configuration"]
  node_discovery["Tool detection"]
  node_hostconfig["Host tool settings"]
  node_tools["Supported tools"]
  node_replay["Replay scripts"]
end

subgraph group_docker["Docker trust"]
  node_dockerassets["Container assets"]
  node_containers["Running containers"]
  node_daemon["Docker daemon trust"]
end

subgraph group_verify["Verification"]
  node_probe["TLS probe<br/>[check_ssl.js]"]
  node_endpoint["TLS endpoint"]
end

node_user(("Operator"))

node_user -->|"runs"| node_universal
node_user -->|"runs"| node_unix
node_user -->|"runs"| node_launcher
node_launcher -->|"launches"| node_windows
node_universal -->|"retrieves from"| node_certsource
node_unix -->|"retrieves from"| node_certsource
node_windows -->|"retrieves from"| node_certsource
node_universal -->|"downloads"| node_mozilla
node_unix -->|"downloads"| node_mozilla
node_windows -->|"downloads"| node_mozilla
node_universal -->|"builds"| node_bundle
node_unix -->|"builds"| node_bundle
node_windows -->|"builds"| node_bundle
node_universal -->|"detects"| node_discovery
node_unix -->|"detects"| node_discovery
node_windows -->|"detects"| node_discovery
node_discovery -->|"checks availability"| node_tools
node_universal -->|"configures"| node_hostconfig
node_unix -->|"configures"| node_hostconfig
node_windows -->|"configures"| node_hostconfig
node_hostconfig -->|"sets trust"| node_tools
node_universal -->|"writes"| node_replay
node_unix -->|"writes"| node_replay
node_windows -->|"writes"| node_replay
node_universal -->|"generates"| node_dockerassets
node_unix -->|"generates"| node_dockerassets
node_windows -->|"generates"| node_dockerassets
node_dockerassets -->|"patches"| node_containers
node_dockerassets -->|"provides trust setup"| node_daemon
node_probe -->|"probes TLS"| node_endpoint

click node_universal "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_unix "https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_unix.sh"
click node_windows "https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.ps1"
click node_launcher "https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.cmd"
click node_bundle "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_discovery "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_hostconfig "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_replay "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_dockerassets "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_daemon "https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py"
click node_probe "https://github.com/ns-toconnor/ssl-configure-script/blob/main/check_ssl.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_universal,node_unix,node_windows,node_launcher,node_certsource,node_mozilla,node_bundle toneBlue
class node_discovery,node_hostconfig,node_tools,node_replay toneAmber
class node_dockerassets,node_containers,node_daemon toneMint
class node_probe,node_endpoint toneRose
class node_user toneIndigo
```

## Components

### Setup workflow

- [Python configurator](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`
- [Unix configurator](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_unix.sh): `configure_tools_unix.sh`
- [Windows configurator](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.ps1): `configure_tools_windows.ps1`
- [Windows launcher](https://github.com/ns-toconnor/ssl-configure-script/blob/main/configure_tools_windows.cmd): `configure_tools_windows.cmd`
- **Tenant cert source**
- **Mozilla CA bundle**
- [CA bundles](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`

### Host configuration

- [Tool detection](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`
- [Host tool settings](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`
- **Supported tools**
- [Replay scripts](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`

### Docker trust

- [Container assets](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`
- **Running containers**
- [Docker daemon trust](https://github.com/ns-toconnor/ssl-configure-script/blob/main/universal_configure_tools.py): `universal_configure_tools.py`

### Verification

- [TLS probe](https://github.com/ns-toconnor/ssl-configure-script/blob/main/check_ssl.js): `check_ssl.js`
- **TLS endpoint**

### Other components

- **Operator**

## Connections

- Operator → Python configurator: runs (evidence: `README.md`)
- Operator → Unix configurator: runs (evidence: `README.md`)
- Operator → Windows launcher: runs (evidence: `README.md`)
- Windows launcher → Windows configurator: launches (evidence: `README.md`)
- Python configurator → Tenant cert source: retrieves from (evidence: `README.md`)
- Unix configurator → Tenant cert source: retrieves from (evidence: `README.md`)
- Windows configurator → Tenant cert source: retrieves from (evidence: `README.md`)
- Python configurator → Mozilla CA bundle: downloads (evidence: `README.md`)
- Unix configurator → Mozilla CA bundle: downloads (evidence: `README.md`)
- Windows configurator → Mozilla CA bundle: downloads (evidence: `README.md`)
- Python configurator → CA bundles: builds (evidence: `README.md`)
- Unix configurator → CA bundles: builds (evidence: `README.md`)
- Windows configurator → CA bundles: builds (evidence: `README.md`)
- Python configurator → Tool detection: detects (evidence: `README.md`)
- Unix configurator → Tool detection: detects (evidence: `README.md`)
- Windows configurator → Tool detection: detects (evidence: `README.md`)
- Tool detection → Supported tools: checks availability (evidence: `README.md`)
- Python configurator → Host tool settings: configures (evidence: `README.md`)
- Unix configurator → Host tool settings: configures (evidence: `README.md`)
- Windows configurator → Host tool settings: configures (evidence: `README.md`)
- Host tool settings → Supported tools: sets trust (evidence: `README.md`)
- Python configurator → Replay scripts: writes (evidence: `README.md`)
- Unix configurator → Replay scripts: writes (evidence: `README.md`)
- Windows configurator → Replay scripts: writes (evidence: `README.md`)
- Python configurator → Container assets: generates (evidence: `README.md`)
- Unix configurator → Container assets: generates (evidence: `README.md`)
- Windows configurator → Container assets: generates (evidence: `README.md`)
- Container assets → Running containers: patches (evidence: `README.md`)
- Container assets → Docker daemon trust: provides trust setup (evidence: `README.md`)
- TLS probe → TLS endpoint: probes TLS (evidence: `check_ssl.js`)
