https://github.com/chgeuer/igniter_tls_enable
Mini experiment to play with Ash's Igniter to enable a bunch of TLS config on my Elixir projects.
https://github.com/chgeuer/igniter_tls_enable
elixir elixir-lang igniter
Last synced: 4 months ago
JSON representation
Mini experiment to play with Ash's Igniter to enable a bunch of TLS config on my Elixir projects.
- Host: GitHub
- URL: https://github.com/chgeuer/igniter_tls_enable
- Owner: chgeuer
- Created: 2024-11-21T14:51:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T21:20:24.000Z (over 1 year ago)
- Last Synced: 2025-06-20T12:51:10.014Z (12 months ago)
- Topics: elixir, elixir-lang, igniter
- Language: Elixir
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IgniterTlsEnable
This is a set of steps I'm using to turn on TLS with a bunch of local X509 certificates.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `igniter_tls_enable` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:igniter_tls_enable, github: "chgeuer/igniter_tls_enable", force: true}
]
end
```
A local installation would look like this
```elixir
def deps do
[
{:igniter_tls_enable, path: "../igniter_tls_enable"}
]
end
```
After `mix deps.get`, you can then add TLS support:
```shell
mix phx.new hello_world --no-ecto --no-gettext --no-assets --no-live --no-html --no-dashboard --no-esbuild --no-tailwind --no-mailer
cd hello_world
# add {:igniter_tls_enable, path: "../igniter_tls_enable"} to mix.exs
mix deps.get
mix Igniter.Task.TLSEnable --hostname beast.geuer-pollmann.de
mix deps.get
iex -S mix phx.server.browser
```