Share via

OPenVPN Access Server Can no longer Connect to our Azure MySQL Server

Anthony Kha Tang 0 Reputation points
2025-09-16T19:43:54.1033333+00:00

OpenVPN Access Server on Ubuntu can no longer connect to our Azure MySQL Flexible Server after the recent certificate rotation. We created a new CA bundle (azure-mysql-roots.min.pem with DigiCert Global Root G2 + Microsoft RSA Root 2017) and updated as.conf with ssl_mode=VERIFY_IDENTITY&ssl_ca=...

All TLS Connections are fail with:
ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed

Azure Database for MySQL

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-09-17T06:01:25.0966667+00:00

    Hi @Anthony Kha Tang

    Thank you for reaching out to Microsoft QA.

    We understand you're experiencing difficulties connecting your OpenVPN Access Server on Ubuntu to your Azure MySQL Flexible Server following the recent certificate rotation. The error you're encountering — ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed — typically points to an issue with the SSL/TLS configuration, particularly around certificate verification paths.

    This issue is common after Azure MySQL Flexible Server certificate rotations, which now require three certificates during the transition period:

    1. DigiCert Global Root CA (SHA-1) – still in use until full rotation.
    2. DigiCert Global Root G2 (SHA-256)
    3. Microsoft RSA Root Certificate Authority 2017

    If your CA bundle only includes the two new certificates, it will fail until the full rotation completes.

    Kindly refer the below official document to mitigate the issue -

    https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-root-certificate-rotation

    https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-connect-tls-ssl

    Thanks,
    Vrishabh

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.