Merge pull request 'Docs: FTPS-certificaatketen van de hoster is verlopen (controle moet weer aan)' (#39) from docs/asf-ftps-cert-chain into master
Continuous Integration / config-sls (push) Successful in 7s
Continuous Integration / changes (push) Successful in 12s
Continuous Integration / backend-build (push) Skipped
Continuous Integration / compile-sites (push) Skipped
Continuous Integration / backend-test (push) Skipped
Continuous Integration / vulnerability-scan (push) Skipped
Continuous Integration / frontend-prepare (push) Skipped
Continuous Integration / frontend-build (push) Skipped
Continuous Integration / frontend-test (push) Skipped
Continuous Integration / frontend-lint (push) Skipped
Continuous Integration / publish-sls-test (push) Skipped
Continuous Integration / publish-sls-production (push) Skipped
Continuous Integration / deploy-sls-test (push) Skipped
Continuous Integration / deploy-sls-production (push) Skipped
Continuous Integration / publish-asf-test (push) Skipped
Continuous Integration / publish-asf-production (push) Skipped
Continuous Integration / deploy-asf-production (push) Skipped
Continuous Integration / config-asf (push) Successful in 13s
Continuous Integration / smoke-sls-test (push) Skipped
Continuous Integration / deploy-asf-test (push) Skipped
Continuous Integration / smoke-asf-test (push) Skipped
Continuous Integration / config-sls (push) Successful in 7s
Continuous Integration / changes (push) Successful in 12s
Continuous Integration / backend-build (push) Skipped
Continuous Integration / compile-sites (push) Skipped
Continuous Integration / backend-test (push) Skipped
Continuous Integration / vulnerability-scan (push) Skipped
Continuous Integration / frontend-prepare (push) Skipped
Continuous Integration / frontend-build (push) Skipped
Continuous Integration / frontend-test (push) Skipped
Continuous Integration / frontend-lint (push) Skipped
Continuous Integration / publish-sls-test (push) Skipped
Continuous Integration / publish-sls-production (push) Skipped
Continuous Integration / deploy-sls-test (push) Skipped
Continuous Integration / deploy-sls-production (push) Skipped
Continuous Integration / publish-asf-test (push) Skipped
Continuous Integration / publish-asf-production (push) Skipped
Continuous Integration / deploy-asf-production (push) Skipped
Continuous Integration / config-asf (push) Successful in 13s
Continuous Integration / smoke-sls-test (push) Skipped
Continuous Integration / deploy-asf-test (push) Skipped
Continuous Integration / smoke-asf-test (push) Skipped
This commit was merged in pull request #39.
This commit is contained in:
@@ -90,3 +90,22 @@ De uitrol:
|
|||||||
2. Heeft het FTP-account schrijfrechten in de hostmap voor `app_offline.htm`? Faalt de eerste proefupload hier, meld het.
|
2. Heeft het FTP-account schrijfrechten in de hostmap voor `app_offline.htm`? Faalt de eerste proefupload hier, meld het.
|
||||||
3. Is `lftp` op de Gitea-runner aanwezig (of mag de job het installeren)? De job probeert `apt-get`; anders de runner-image aanpassen.
|
3. Is `lftp` op de Gitea-runner aanwezig (of mag de job het installeren)? De job probeert `apt-get`; anders de runner-image aanpassen.
|
||||||
4. Wat doet de hoster al aan HTTP naar HTTPS en www naar apex (zie 2a van de configuratiedoc)?
|
4. Wat doet de hoster al aan HTTP naar HTTPS en www naar apex (zie 2a van de configuratiedoc)?
|
||||||
|
|
||||||
|
## 8. Bekend probleem: certificaatketen van de FTPS-server (2026-11-19)
|
||||||
|
|
||||||
|
De eerste uitrol (run 911, stap 1/6 van `scripts/deploy-asf-iis-ftps.sh`) faalde op `Certificate verification: The certificate is NOT trusted. The certificate chain uses expired certificate`: de keten van de FTPS-server van de hoster bevat een verlopen certificaat. Het script controleert het servercertificaat standaard (`ssl:verify-certificate yes`) en moet dat blijven doen.
|
||||||
|
|
||||||
|
- Is de controle voor een uitrol bewust uitgezet, dan blijven AUTH TLS en versleuteling aan (`ssl-force`, `ssl-protect-data`); alleen de identiteit van de server is dan niet gecontroleerd, en de inloggegevens kunnen door een man-in-the-middle worden onderschept. Dat mag alleen eenmalig, met Bryans expliciete besluit, en nooit op `master`.
|
||||||
|
- **De controle moet weer aan** (`yes`) zodra de hoster de keten heeft hersteld, of zodra het CA-certificaat is vastgezet (`set ssl:ca-file <pad>`). Controleer na een herstel met het commando hieronder en met een proefupload (`DRY_RUN=1`).
|
||||||
|
|
||||||
|
De keten van de FTP-server bekijken (voor de hoster; het wachtwoord is hiervoor niet nodig):
|
||||||
|
|
||||||
|
```sh
|
||||||
|
openssl s_client -connect <host>:<poort> -starttls ftp -showcerts </dev/null
|
||||||
|
```
|
||||||
|
|
||||||
|
Kijk in de uitvoer naar `Certificate chain` (de certificaten `0`, `1`, ...) en naar `Verify return code`. Een verlopen tussen- of rootcertificaat toont zich als `certificate has expired` (code 10) of `unable to get local issuer certificate`. De geldigheid per certificaat:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
openssl s_client -connect <host>:<poort> -starttls ftp -showcerts </dev/null 2>/dev/null | awk '/BEGIN CERT/{c++} c{print > "chain-" c ".pem"}' ; for f in chain-*.pem; do openssl x509 -in "$f" -noout -subject -issuer -dates; done
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user