Hello,
Sorry for my English I’m French.
I’ve a strange issue when I want to connect to my MariaDB Server with SSL. I explain.
I installed Rocky 10 on one of my Raspberry (Pi4), the other have Debian installed (I’m trying to migrate all to Rocky). This server is DNS and proxy server.
DNS seems to work good as all of my other servers can make nslookup and reverse nslookup without issue.
On 3 of these servers I installed a Kubernetes cluster which work like a charm. And on this cluster I run a mariaDB pod (using self-signed certificates) accessible using a service and a ConfigMap (specific DB port).
All my severs (Raspberry, NAS) can make a MariaDB connection (using mariadb -u user -p password -h host -P port) without issue. So I configured my Rocky Raspberry like the other but “modified” for Rocky (/etc/my.cnf, /home/user/.my.cnf) and copied the same mariaDB certificates (server ca, client cert and key) on the same location.
But when I try to connect on my MariaDB Server I receive this error:
ERROR 2026 (HY000): TLS/SSL error: Hostname verification failed
I tried a nslookup, it’s OK. I tried a telnet on the DB port, it’s OK.
I tried to find a resolution using google but I found nothing.![]()
If someone have an idea ![]()