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

roles: add tls support #203

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

themilchenko
Copy link
Contributor

@themilchenko themilchenko commented Nov 12, 2024

Since we support TLS in this module, we need to add it into roles too.

After the patch TLS params was added. It can be configurated like the following:

server_name:
  listen: "localhost:3013"
  ssl_key_file: "path/to/key/file"
  ssl_cert_file: "path/to/key/file"
  ssl_ca_file: "path/to/key/file"
  ssl_ciphers: "cipher1:cipher2"
  ssl_password: "password"
  ssl_password_file: "path/to/ssl/password"

Closes #199

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@oleg-jukovec oleg-jukovec requested review from DifferentialOrange and removed request for DerekBum November 12, 2024 19:32
roles/httpd.lua Outdated Show resolved Hide resolved
@themilchenko themilchenko force-pushed the themilchenko/gh-199-add-ssl-support-httpd-role branch 2 times, most recently from 42d35ed to 3d573c0 Compare November 13, 2024 05:52
@themilchenko themilchenko force-pushed the themilchenko/gh-199-add-ssl-support-httpd-role branch from 3d573c0 to b6724ad Compare November 13, 2024 09:27
test/unit/httpd_role_test.lua Outdated Show resolved Hide resolved
@themilchenko themilchenko force-pushed the themilchenko/gh-199-add-ssl-support-httpd-role branch from b6724ad to e52e6f0 Compare November 13, 2024 12:10
Since we support TLS in this module, we need to add it into roles too.

After the patch TLS params was added. It can be configurated like the
following:

```yaml
server_name:
  listen: "localhost:3013"
  ssl_key_file: "path/to/key/file"
  ssl_cert_file: "path/to/key/file"
  ssl_ca_file: "path/to/key/file"
  ssl_ciphers: "cipher1:cipher2"
  ssl_password: "password"
  ssl_password_file: "path/to/ssl/password"
```

Closes #199
It was a typo in `roles.httpd` paragraph - listen addresses was wrongly
declared as a list in `roles_cfg` target.

After the patch list's markers was deleted.
@themilchenko themilchenko force-pushed the themilchenko/gh-199-add-ssl-support-httpd-role branch from e52e6f0 to bf6369e Compare November 13, 2024 14:21
@themilchenko themilchenko merged commit 194066a into master Nov 13, 2024
34 checks passed
@themilchenko themilchenko deleted the themilchenko/gh-199-add-ssl-support-httpd-role branch November 13, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

role: add SSL support
3 participants