Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration Adjustments for Resolving Apache2 and Let's Encrypt Integration Issue in SaltStack #291

Open
Shafiya-Heena opened this issue Jul 18, 2024 · 0 comments
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be fixed soon 🔒 staff only Restricted to CC staff members 🏁 status: ready for work Ready for work

Comments

@Shafiya-Heena
Copy link
Member

Issue Description

During the process of provisioning a chapters stage server using the Salt master, we encountered an issue related to the startup of the Apache2 service. This issue stemmed from the absence of Let's Encrypt configuration for HTTPS (port 443), resulting in the failure to initiate the Apache2 service.


      ID: apache2 service
Function: service.running
  Result: False
 Comment: Job for apache2.service failed because the control process exited with error code.
          See "systemctl status apache2.service" and "journalctl -xe" for details.
 Started: 15:52:41.608590
Duration: 230.483 ms
 Changes:

Recommendations:

To address the encountered issue, the propose steps for modification in the Salt configuration file:

  • Ensure that Apache2 starts with HTTP (port 80) by adjusting the configuration settings appropriately
    • config file /etc/apache2/sites-available/creativecommons.net_http.conf
  • Execute the Let's Encrypt state by applying the configuration from /etc/letsencrypt/domainsets.yaml
  • Subsequently, configure HTTPS (port 443) to enable the secure connection
    • config file /etc/apache2/sites-available/creativecommons.net_https.conf

Implementing these adjustments should help resolve the startup issue and establish a functional Apache2 service with the necessary Let's Encrypt configuration.

Related Links

@cc-open-source-bot cc-open-source-bot added the 🏷 status: label work required Needs proper labelling before it can be worked on label Jul 19, 2024
@TimidRobot TimidRobot moved this to Triage in Systems Sep 10, 2024
@TimidRobot TimidRobot added 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository 🔒 staff only Restricted to CC staff members and removed 🏷 status: label work required Needs proper labelling before it can be worked on labels Sep 18, 2024
@TimidRobot TimidRobot moved this from Triage to Backlog in Systems Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟨 priority: medium Not blocking but should be fixed soon 🔒 staff only Restricted to CC staff members 🏁 status: ready for work Ready for work
Projects
Status: Backlog
Development

No branches or pull requests

3 participants