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

Add ssl support to the control_cli #2052

Merged
merged 1 commit into from Nov 2, 2019

Commits on Nov 1, 2019

  1. Add ssl support to the control_cli

    If I have a server running:
    
    ```sh
    bundle exec bin/puma test/rackup/hello.ru \
      --control-url="ssl://127.0.0.1:9000?key=examples/puma/puma_keypair.pem&cert=examples/puma/cert_puma.pem" \
      --control-token="token"
    ```
    
    This commit will allow me to restart that server (or run any other
    control cli command) with:
    
    ```sh
    bundle exec bin/pumactl restart \
      --control-url="ssl://127.0.0.1:9000" \
      --control-token="token"
    ```
    
    Before this commit the pumactl restart command would have raised an
    error: `"Invalid scheme: ssl"`
    composerinteralia committed Nov 1, 2019
    Copy the full SHA
    ff5fcc0 View commit details
    Browse the repository at this point in the history