fix(pzz-sync): disable SSL verify for Rosreestr PKK6 (self-signed cert chain)
This commit is contained in:
parent
2e83d62237
commit
1c1ecad8b8
1 changed files with 4 additions and 1 deletions
|
|
@ -41,7 +41,10 @@ async def fetch_pkk6_zones() -> list[dict]:
|
|||
offset = 0
|
||||
page_size = 1000
|
||||
|
||||
async with httpx.AsyncClient(timeout=60, headers=headers) as client:
|
||||
# verify=False: Росреестр PKK6 использует self-signed cert chain
|
||||
# (типично для российских госсервисов). Публичный read-only API,
|
||||
# риск MITM при отсутствии TLS validation минимален для нашего use case.
|
||||
async with httpx.AsyncClient(timeout=60, headers=headers, verify=False) as client:
|
||||
while True:
|
||||
params = {
|
||||
"where": "1=1",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue