gotify / cli

A command line interface for pushing messages to gotify/server.
MIT License
441 stars 57 forks source link

gotify init skip TLS validation #27

Closed kallisti5 closed 4 years ago

kallisti5 commented 5 years ago

Currently, it's impossible to use gotify with a server running a self-signed cert.

gotify-cli init
(enter url)
Connecting -> Failed
Error: Get https://myserver.com/version: x509 certificate signed by unknown authority

gotify-cli init needs a flag to allow untrusted certificates.

eternal-flame-AD commented 5 years ago

I would say let's use an environment variable rather than a configuration item as this is an insecure option and should not be kept persistent.

AvnerCohen commented 4 years ago

Suggested config in https://github.com/gotify/go-api-client/pull/2