logdna / logdna-cli

The LogDNA CLI allows you to signup for a new account and tail your server logs right from the command line.
https://logdna.com
MIT License
27 stars 21 forks source link

2.0.0 binary release failing with "Error: certificate has expired" #65

Open defulmere opened 5 months ago

defulmere commented 5 months ago

As of a few days ago logdna-cli commands started failing with "certificate is expired".

Here's a reproducible example from a fresh install running on macOS Sonoma 14.4.1:

user@host ~ $ rm -f ~/.logdna.conf
user@host ~ $ ls -l ~/Library/Caches/Homebrew/downloads/
total 0
user@host ~ $ brew install --cask logdna-cli
==> Downloading https://github.com/logdna/logdna-cli/releases/download/2.0.0/logdna-cli.pkg
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/55010834/55081e00-9aa8-11ea-89b6-11a05c1b6d27?X-Amz-Algorithm
######################################################################################################################################################## 100.0%
==> Installing Cask logdna-cli
==> Running installer for logdna-cli with sudo; the password may be necessary.
installer: Package name is logdna-cli
installer: Installing at base path /
installer: The install was successful.
🍺  logdna-cli was successfully installed!
user@host ~ $ logdna login
Email: me@domain.com
Password: ********************
Error: Error: certificate has expired

Running from source (node index.js login etc) works, the problem seems to be only with the binary release.