Integration of device fails due to self signed certificate

I have a huawei supported device * Huawei 5G CPE Pro 2 (H122-373)
for huawei_lte integration. The problem is the integration fails with error:
Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)

This is because the huawei forces the dns to hirouter.net which has expired certitifcate 16 nov 2022, and huawei don’t seem to have sorted it out. I have tried forcing it to use the IP address with some dns hacks without success.
I read other users who had issues with self signed certs used the verify_ssl: false parameter
in configuration.yaml to bypass certificate verification

example

If I edit configuration.yaml as follows

huawei_lte
  url: !secret url_lte # http://x.x.x.x/ (slash is required at the end)
  username: !secret lte_user
  password: !secret lte_pwd
  verify_ssl: false

I get error:
Invalid config for [huawei_lte]: [verify_ssl] is an invalid option for [huawei_lte]. Check: huawei_lte->huawei_lte->0->verify_ssl.

Can anyone advise what I am doing wrong, or how to get this to work? Thanks

Hi,

I’m having the same problem, I have the Huawei H122-373 and I’m unable to conect it to Home Assitant whit the Huawei LTE integration of HA.

Have you sorte it out?

Was this ever fixed?

the same issue here… still no clue how to solve this. Anyone please?? :smiling_face_with_three_hearts:

I’ve just upgraded from a B818 to a H122-373 and struggled to get a connection, then found adding https and unticking Verify SSL certificate then allowed a connection.

image