Can I config the tls-cert and tls-key ?

안예리 41 Reputation points
2023-01-11T06:36:38.6833333+00:00

Hi~

I am trying to connect azure mysql service and pmm monitoring tool.

pmm need tls-ca, tls-cert, tls-key flags. (client-cert.pem, client-key.pem)

But Azure DB only need ca certificate as below command shows:
mysql --user=monitor@db-dddxxxx --password=xxxxx --host=db-dddxxxx.mysql.database.azure.com --ssl-mode=VERIFY_CA --ssl-ca=azure-ca.crt

So, I found this issue below page:

[https://jira.percona.com/browse/PMM-8239

But I don't know where can I execute this command in azure MySQL.

Because Azure mysql doesn't have command shell. only has azure cli(It doesn't have that command)

So, My question is "Is it possible to get the tls-cert, tls-key file ?"

and "where can I get the tls-cert, tls-key file? "

I look forward to your reply.

Thank you!

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
719 questions
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 27,717 Reputation points Microsoft Employee
    2023-01-11T13:05:50.9533333+00:00

    Hi, @안예리 Welcome to the Microsoft Q&A forum, Thanks for posting your question.

    Please refer to this blog https://techcommunity.microsoft.com/t5/azure-database-for-mysql-blog/monitor-azure-database-for-mysql-using-percona-monitoring-and/ba-p/2568545

    With the below setting, you should be able to connect.

    User's image

    Hope this will help. Please let us know if any further queries.

    Regards

    Geetha

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful