dpb587 / opengrok-cli

Command line interface for getting results from an OpenGrok server.
MIT License
9 stars 5 forks source link

Are you able to handle https #6

Open ghost opened 8 years ago

ghost commented 8 years ago

My current opengrok server is using https. How can I use opengrok-cli with https

dpb587 commented 8 years ago

I'm no longer actively using OpenGrok or this CLI, but in theory if your server is using a trusted certificate I think you just need to use the https:// scheme in the server argument.

./opengrok-cli.phar --server=https://opengrok.acme.internal --project=myproject search_token

If you find the code needs to change, feel free to send a PR.