I’m looking for a convenient way to generate ssl certificates for local testing but the openssl config is horrible.
I’d like to be able to do two things, generate ssl certs and Root CA that I would install on containers/vms - something like lets encrypt but without having to talk to any online service from my datacentre.
I’ve found run mix phx.gen.cert but don’t know what dependency to use.
Just had to run this for GRPC plugin - will copy the protobuf library layout for the script :
# mix escript.install hex protobuf
Resolving Hex dependencies...
Dependency resolution completed:
New:
protobuf 0.6.3
* Getting protobuf (Hex package)
All dependencies are up to date
Compiling 20 files (.ex)
Generated protobuf app
Generated escript protoc-gen-elixir with MIX_ENV=prod
Are you sure you want to install "protoc-gen-elixir"? [Yn] Y
* creating xxxxxxxxx.asdf/installs/elixir/1.9.4-otp-22/.mix/escripts/protoc-gen-elixir