Skip to content

Make internal TLS verification strict by default #77

Description

@stoertebeker

Summary

The default stack weakens TLS verification internally and does not enable HSTS by default.

Evidence

  • configs/manager/configure_notify_push_default.sh:4 uses curl -k.
  • compose.yaml:449 starts notify_push with --allow-self-signed.
  • configs/nginx/conf/nextcloud_default.conf:49 leaves HSTS commented out.

Risk

This normalizes certificate-bypass behavior inside the deployment and weakens transport hardening for a service that carries authenticated sessions and file traffic.

Suggested Remediation

  • Make certificate verification strict by default.
  • Gate self-signed or insecure transport behavior behind an explicit development/testing flag.
  • Document when HSTS should be enabled and consider a secure-by-default production template.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions