Page MenuHomeDevCentral

Allow nginx to read /.well-known/acme-challenge
ClosedPublic

Authored by dereckson on Oct 9 2024, 17:48.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 11:23
Unknown Object (File)
Tue, Nov 12, 07:53
Unknown Object (File)
Tue, Nov 12, 06:45
Unknown Object (File)
Tue, Nov 12, 06:17
Unknown Object (File)
Mon, Nov 11, 22:35
Unknown Object (File)
Fri, Nov 8, 22:08
Unknown Object (File)
Fri, Nov 8, 10:37
Unknown Object (File)
Fri, Nov 8, 07:40
Subscribers

Details

Summary

Certbot write files in /var/letsencrypt-auto/.well-known/acme-challenge
to allow Let's Encrypt server to verify the certificate request comes
from an authorized source.

Fixes T2051.

Test Plan

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
selinux-certbot-www
Build Status
Buildable 5567
Build 5849: arc lint + arc unit

Event Timeline

dereckson created this revision.
Complector
$ salt docker-002 state.apply roles/core/certificates/letsencrypt
[…]
          ID: selinux_context_certbot_www
    Function: selinux.fcontext_policy_present
        Name: /var/letsencrypt-auto
      Result: True
     Comment:
     Started: 18:00:54.789434
    Duration: 1865.606 ms
     Changes:
              ----------
              new:
                  ----------
                  /var/letsencrypt-auto:
                      ----------
                      filetype:
                          all files
                      sel_type:
                          httpd_sys_content_t
              old:
                  ----------
----------
          ID: selinux_context_certbot_www_applied
    Function: selinux.fcontext_policy_applied
        Name: /var/letsencrypt-auto
      Result: True
     Comment: SElinux policies are already applied for filespec "/var/letsencrypt-auto"
     Started: 18:00:56.655250
    Duration: 7.813 ms
     Changes:
[…]

Summary for docker-002
-------------
Succeeded: 10 (changed=1)
Failed:     0
-------------
Total states run:     10
Total run time:    2.193 s
This revision is now accepted and ready to land.Wed, Oct 23, 16:13