OTA provider file SSL Verification

Abierto
#757 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python

Línea de trabajo

Start by tracing how ZHA configures zigpy OTA providers and downloads firmware images, then inspect the SSL verification error in the reported download path. Check whether certificate validation is configurable and whether the certificate chain is instead broken on the backend; done means the cause is established and firmware downloads work with certificate validation handled safely.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

question

Hi!

The idea is to apply update configuration for Shelly devices in ZHA. I added the following configuration:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

zha_toolkit:

zha:
  database_path: /config/zigbee.db
  enable_quirks: true
  custom_quirks_path: zha_quirks/

  zigpy_config:
    ota:
      extra_providers:
        - type: zigpy_remote
          url: http://updates.shelly.cloud:3050/list-zigbee-firmwares
        - type: zigpy_local
          index_file: zha_ota/index.json
        - type: advanced
          path: zigbee_ota/

Note: http://updates.shelly.cloud:3050/list-zigbee-firmwares is only for testing purposes. It is not the final production update URL.

When I try to notify the Zigbee device, the logs show the following error:

Failed to download image, ignoring
ssl.SSLCertVerificationError: unable to get local issuer certificate

Is it possible to disable SSL certificate validation, or should this be fixed on our backend side?

Lenguaje dominante
Python
Estrellas
96
Forks
84
Merge medio
3 d 1 h
PR fusionados (30 d)
13

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de zigpy/zha

Todos los issues de zigpy/zha

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.