Root Certificate Change - Unable to Connect w/o the legacy certificate

Brice Bauer 0 Reputation points
2025-07-23T17:52:55.5+00:00

https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-root-certificate-rotation#do-i-need-to-make-any-changes-on-my-client-to-maintain-connectivity

The MySQL instance has an updated alert indicating that the certificate is changed. Which I understand to mean that I should no longer need the "DigiCert Global Root CA" to establish connectivity.

User's image

Following the guidance exactly - I'm trying to achieve getting MySQL workbench to connect to my database instance.

  1. Download the certificate files
    1. DigiCert Global Root G2
    2. Microsoft RSA Root Certificate Authority 2017
  2. Convert the 2017 crt to PEM (command from linked article)
       openssl x509 -inform der -in MicrosoftRSARootCertificateAuthority2017.crt -out MicrosoftRSARootCertificateAuthority2017.crt.pem
    
  3. Manually merge them to create a single file (using linked article as guidance)
  4. Unable to connect with error:
    User's image
  5. If I add the DigiCert Global Root CA to my merged file so I now have 3 entries, I achieve connectivity. User's image My questions:

    Am I correct that the banner on my instance is confirming that the new certs are available and I should no longer be required to utilize the old root CA cert to connect?

    How can I perform testing will not lose connectivity as of August 1 since it doesn't seem to be possible to establish connectivity without the certificate that is being retired.

    The steps seem extremely simple without much room for executing incorrectly - what are steps to solve my issue?

Azure Database for MySQL
{count} votes

2 answers

Sort by: Most helpful
  1. Mohammed 5 Reputation points Microsoft Employee
    2025-08-05T10:16:02.7166667+00:00

    Duplicate

    0 comments No comments

  2. Mohammed 5 Reputation points Microsoft Employee
    2025-08-05T10:19:35.99+00:00

    Hi Brice,

    Root certificate is not changed yet as mentioned above, it was postponed to Sep 1st, 2025.

    After certificate change and server restarted, you can verify new one by running below command

    bash:

    openssl s_client -starttls mysql -connect SERVER_NAME.mysql.database.azure.com:3306 2>&1|grep '^issuer'
    

    powershell:

    openssl s_client -starttls mysql -connect SERVER_NAME.mysql.database.azure.com:3306 2>&1|select-string 'issuer'
    

    output should be:

    issuer=C=US, O=Microsoft Corporation, CN=Microsoft Azure RSA TLS Issuing CA 07
    

    if you see this output:

    issuer=C = US, O = DigiCert Inc, CN = DigiCert SHA2 Secure Server CA
    

    that indicate certificate was not changed.

    New certificates require:

    Old certificates require:
    Download the DigiCert Global Root CA certificate

    To avoid connectivity issues before and after certificate change, please combine all three certificates, and in that way, your application will not have connectivity issues when certificate is rotated.


Your answer

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