A browser checks the Subject Alternative Name list, not the common name. I read that list before I blame the proxy.
openssl x509 -in fullchain.pem -noout -subject -issuer -dates -ext subjectAltName
One command prints who the certificate is for, who issued it, the validity dates and every hostname it covers. A missing name here is the usual reason for a name mismatch error, for example when a wildcard covers *.example.com but you use example.com.
-ext needs OpenSSL 1.1.1 or newer, which every current Debian and Ubuntu release has. Remember that a wildcard does not cover the bare domain and only one level of subdomains.
Further reading: openssl x509 manual page
Going deeper: Run degoog on Unraid as your own search page, compared with SearXNG and 4get