SSL CERTIFICATE FAILED - Can't use any cloud integrations in HAOS

Hey!
I’m having SSL issues in my cloud integrations today 06/06/2023

TLDR: This is the error I’m getting in many integrations.
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’

Context:
I’m running HAOS in a NUC-clone x86 machine.
2023.5.3 CORE
10.0 HAOS
Using Nabucasa
Every single cloud integration was running perfectly until about 04:00 06/06/2023 BRT (Brazilian time) (10h ago)
Google DNS

Event
At about 04-05 in the morning, every single integration that use cloud in some way, including nabucasa Alexa and even nabucasa remote UI went down.
After some Host Restarts, RemoteUI connected and I was able remote connect to HA.
Internet access is stable in the network (for other devices, also HA constantly pings Google DNS, it was connected all day.)

Integrations I’m having issue:
Nabucasa Alexa, Nabucasa RemoteUI, Spotify, Alexa Media Player, Smarthings, Tuya.

Even HACS is not working.
This text will be hidden

I did not tried restarting the network Modem/Router, since I’m currently in another city and can only perform remote access to the HA

Any ideas?

Below I have the error logs of some of the integrations:

`

iled to call service climate/set_hvac_mode. Cannot connect to host api.smartthings.com:443 ssl:True [SSLCertVerificationError: (1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’)]

Logger: alexapy.helpers
Source: custom_components/alexa_media/init.py:326
Integration: Alexa Media Player (documentation, issues)
First occurred: 09:55:15 (316 occurrences)
Last logged: 15:42:42

A connection error occured: An exception of type ClientConnectorCertificateError occurred. Arguments: (ConnectionKey(host=‘www.amazon.com’, port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=2619025453577345359), SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’))

This error originated from a custom integration.

Logger: custom_components.hacs
Source: custom_components/hacs/base.py:522
Integration: HACS (documentation, issues)
First occurred: 09:55:15 (10 occurrences)
Last logged: 11:15:25

Request exception for ‘https://api.github.com/rate_limit’ with - Cannot connect to host api.github.com:443 ssl:True [SSLCertVerificationError: (1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’)]
Traceback (most recent call last):
File “/config/custom_components/hacs/base.py”, line 464, in async_can_update
response = await self.async_github_api_method(self.githubapi.rate_limit)
File “/config/custom_components/hacs/base.py”, line 522, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: Request exception for ‘https://api.github.com/rate_limit’ with - Cannot connect to host api.github.com:443 ssl:True [SSLCertVerificationError: (1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’)]

(ConnectionKey(host=‘api.amazon.com’, port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=2619025453577345359), SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)’))

2023-06-06 10:11:46.113 ERROR (MainThread) [hass_nabucasa.remote] Can’t update remote details from Home Assistant cloud

2023-06-06 10:11:56.467 ERROR (MainThread) [hass_nabucasa.remote] Can’t update remote details from Home Assistant cloud

2023-06-06 10:12:06.798 ERROR (MainThread) [hass_nabucasa.remote] Can’t update remote details from Home Assistant cloud

2023-06-06 10:12:17.301 ERROR (MainThread) [hass_nabucasa.remote] Can’t update remote details from Home Assistant cloud
`

Might have been a DNS server issue.

Hey, just an update.

I Solved it disabling the WLP1S0 (wi-fi network adapter) which appeared to also be connected in my network (HA is wired directly to router).

After disabling it, a restart host solved all the issue.