none
The peer certificate names are not matching but they are both in same region (north Europe) RRS feed

  • Question

  • This morning one of azure php web app service stopped connecting to azure my sql database. 

    The error is :

    Peer certificate CN=`cr2.westeurope1-a.control.database.windows.net' did not match expected CN=`northeurope1-a.control.database.windows.net

    The peer certificate names are not matching but they are both in same region (north Europe)

    Does anyone have any ideas how to resolve this problem

    Friday, September 27, 2019 12:45 PM

All replies

  • Welcome to the MSDN Forum.

    I believe you are experiencing a transient issue.

    Could you please add these attributes to your connection string and try if helps resolve the issue in the interim

    TrustServerCertificate=True;hostNameInCertificate=*.database.windows.net;

    Please reach out to Azure support if this is a production environment and you need immediate assistance.

    Monday, September 30, 2019 4:11 AM
    Moderator
  • Just checking in to see if the above answer(s) helped.

     

    If this answers your query, do click “Mark as Answer” and Up-Vote for the same which might be beneficial to other community members reading this thread .

    And, if you have any further query do let us know. 

    Sunday, October 6, 2019 6:35 AM
    Moderator