Ignore deploy/certs and document direct-mode certificate handling #19
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/certs-gitignore"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What does this PR do?
Two fixes from tonight''s live certificate setup on the deployment VM:
.gitignoregainsdeploy/certs/. The directory holds the TLS private key copied from Let''s Encrypt for the admin container''s direct mode; it appeared as untracked ingit statuson the VM, meaning one carelessgit add -Aaway from committing key material to a public repo. Now ignored alongside secrets/data/backups.docs/deployment.mddocuments direct-mode certificate handling as learned live: directory must be755with files400owned by UID 1654 (aumask 077shell creates700directories whose contents are invisible to the container - the "requires readable ... PEM files" startup error is the symptom); the certbot deploy hook that refreshes the copies and restarts the admin service on renewal;--http-01-address/--http-01-portfor NAT-translated challenge ports; and the compose recreate-vs-restart gotcha when adding the volume to an existing deployment.How was this tested?
dotnet build- not applicable (no code changes); documentation and ignore rules onlydotnet test- not applicableChecklist