Skip to content

Handle Missing System Certs Error #101

@krowvin

Description

@krowvin

CLI Script

Does Not Exist Yet!

Describe the bug

Users that freshly install cwms-cli/cwms-python may not have their system certs included in python yet.

Catch the error and provide the install option based on OS

REDACTED relevant log output

2026-01-22 15:26:03;INFO;Listing blobs for office: 'SWT'...
2026-01-22 15:26:03;WARNING;Retrying (Retry(total=5, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)'))': /swt-data/blobs?office=SWT&page-size=100

Steps to Reproduce

On a fresh system without the env vars/certs installed run

  1. pip install cwms-python
  2. pip install cwms-cli
  3. cwms-cli blob list

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions