deploy(apple-mdm): route scep to noc1 ca
Adds the GX10 /scep route to the noc1 Apple MDM SCEP CA without exposing NanoHUB APIs.
This commit is contained in:
@@ -13,6 +13,9 @@ traffic at `https://mdm.iamworkin.lan`.
|
||||
- Required secret: `Secret/fc-apple-mdm-runtime`, key `NANOHUB_API_KEY`
|
||||
- Optional later bridge secret: `NANOHUB_WEBHOOK_URL`
|
||||
- Required CA mount: `ConfigMap/fc-apple-mdm-root-ca`, key `root_ca.crt`
|
||||
- SCEP backend: noc1 systemd service `step-ca-apple-mdm-scep`, forwarded through
|
||||
selectorless `Service/fc-apple-mdm-scep` and `EndpointSlice/fc-apple-mdm-scep-noc1`
|
||||
to `10.0.56.10:9080`
|
||||
|
||||
NanoHUB API authentication is HTTP Basic with username `nanohub` and password
|
||||
from `NANOHUB_API_KEY`.
|
||||
@@ -24,16 +27,21 @@ The Traefik route intentionally exposes only:
|
||||
- `/version`
|
||||
- `/mdm`
|
||||
- `/checkin`
|
||||
- `/scep`
|
||||
|
||||
NanoHUB APIs under `/api/v1/*` stay cluster-internal for MDM-N1. The
|
||||
DeviceManagement bridge can use the ClusterIP service directly once its NanoHUB
|
||||
client lane lands.
|
||||
|
||||
SCEP is intentionally not exposed here yet. NanoHUB/NanoMDM expects an external
|
||||
SCEP service; the next runtime lane should either add a dedicated SCEP route
|
||||
such as `https://mdm.iamworkin.lan/scep/...` backed by an Apple-MDM-specific CA,
|
||||
or set `APPLE_MDM_SCEP_URL` in the DeviceManagement runtime secret to another
|
||||
live SCEP endpoint. Do not point the profile at a placeholder URL.
|
||||
SCEP is backed by the dedicated Apple-MDM-specific RSA step-ca hierarchy on
|
||||
noc1, not by the IAmWorkin ACME CA. The live profile URL is:
|
||||
|
||||
```text
|
||||
https://mdm.iamworkin.lan/scep/apple-mdm-scep
|
||||
```
|
||||
|
||||
Do not point `APPLE_MDM_SCEP_URL` at a placeholder URL or at the ECDSA
|
||||
IAmWorkin ACME CA; Smallstep SCEP requires an RSA intermediate/decrypter path.
|
||||
|
||||
## Deployment Notes
|
||||
|
||||
@@ -45,7 +53,9 @@ live SCEP endpoint. Do not point the profile at a placeholder URL.
|
||||
3. Ensure `mdm.iamworkin.lan` resolves to the GX10 Traefik VIP `10.0.57.202`
|
||||
before cert-manager requests `Certificate/fc-apple-mdm-tls`.
|
||||
4. Prove `https://mdm.iamworkin.lan/version` after ArgoCD converges.
|
||||
5. Prove SCEP CA publication with
|
||||
`curl -sk -o /dev/null -w '%{http_code} %{size_download}\n' 'https://mdm.iamworkin.lan/scep/apple-mdm-scep?operation=GetCACert'`.
|
||||
|
||||
This lane does not create an APNs MDM push certificate, enrollment profile,
|
||||
SCEP/device identity service, managed Wi-Fi payload, managed app install, or
|
||||
supervised iPad enrollment. Those remain MDM-N2 through MDM-N8.
|
||||
managed Wi-Fi payload, managed app install, or supervised iPad enrollment. Those
|
||||
remain MDM-N2 through MDM-N8.
|
||||
|
||||
Reference in New Issue
Block a user