Skip to content

MIoTCertError('invalid COMMON_NAME') #1064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
github0hello opened this issue May 3, 2025 · 0 comments
Open

MIoTCertError('invalid COMMON_NAME') #1064

github0hello opened this issue May 3, 2025 · 0 comments

Comments

@github0hello
Copy link

Describe the Bug / 描述问题

无法完成初始化

How to Reproduce / 复现步骤

1.安装
2.添加集成
3.登录
4.出现错误

Expected Behavior / 预期结果

成功登录并初始化

Reproduce Time / 问题复现的时间点

2025-5-3 17:00

Home Assistant Logs / 系统日志

2025-05-03 16:56:05.674 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_home which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-05-03 16:56:51.154 ERROR (MainThread) [custom_components.xiaomi_home.miot.miot_storage] load_pem_x509_certificate failed, invalid COMMON_NAME, Traceback (most recent call last):
File "/config/custom_components/xiaomi_home/miot/miot_storage.py", line 637, in user_cert_remaining_time_async
raise MIoTCertError('invalid COMMON_NAME')
custom_components.xiaomi_home.miot.miot_error.MIoTCertError: invalid COMMON_NAME
2025-05-03 16:57:39.861 ERROR (MainThread) [custom_components.xiaomi_home.miot.miot_storage] load_pem_x509_certificate failed, invalid COMMON_NAME, Traceback (most recent call last):
File "/config/custom_components/xiaomi_home/miot/miot_storage.py", line 637, in user_cert_remaining_time_async
raise MIoTCertError('invalid COMMON_NAME')
custom_components.xiaomi_home.miot.miot_error.MIoTCertError: invalid COMMON_NAME

Log Timezone / 日志时区

Aisa/Shanghai

Home Assistant Core Version / Home Assistant Core 版本

2025.4.4

Home Assistant Operation System Version / Home Assistant Operation System 版本

15.2

Xiaomi Home Integration Version / 米家集成版本

v0.3.1

Additional Context / 其他说明

No response

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

No branches or pull requests

1 participant