Skip to content

fix(place/staff_api): match transport TLS verification in placeos_client - #641

Merged
stakach merged 1 commit into
PlaceOS:masterfrom
viv-4:fix/staff-api-placeos-client-tls
Oct 12, 2026
Merged

stakach merged 1 commit into
PlaceOS:masterfrom
viv-4:fix/staff-api-placeos-client-tls

Conversation

@viv-4

@viv-4 viv-4 commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

PlaceOS::Client verified certificates by default while the driver's HTTP transport does not, so calls like zone and metadata failed with "certificate verify failed" against the same URI that systems and query_bookings used successfully.

Only verify when https_verify sets the PEER flag ("peer", "all", or an odd integer), or when https_insecure = false, matching the transport's default of no verification.

PlaceOS::Client verified certificates by default while the driver's HTTP
transport does not, so calls like `zone` and `metadata` failed with
"certificate verify failed" against the same URI that `systems` and
`query_bookings` used successfully.

Only verify when `https_verify` sets the PEER flag ("peer", "all", or an
odd integer), matching the transport's default of no verification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@viv-4
viv-4 requested a review from stakach October 12, 2026 04:59

@stakach stakach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stakach
stakach merged commit dc5bf12 into PlaceOS:master Oct 12, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants