question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MySQL - SSL Certificate (CA) path in json settings

See original GitHub issue

Hello!

I’m trying to configure my Azure Mysql Database. I couldn’t find on internet 8and in the official Foal.ts website) how to configure the SSL CA Path of my database. My current configuration is:

  "database": {
    "type": "mysql",
    "host": "mydatabase.mysql.database.azure.com",
    "port": 3306,
    "username": "myuser",
    "password": "mypassword",
    "database": "mydatabase"
  }

How can I add my CA Cert path to the config . json?

Thanks in advance

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kingdun3284commented, Aug 14, 2021

Import config from foalts in your orm.config.js

0reactions
lcnvdlcommented, Aug 25, 2021

Import config from foalts in your orm.config.js

Thank you very much! Now I understand how it works. I think that I can solve the problem with that information.

Best regards, LR

Read more comments on GitHub >

github_iconTop Results From Across the Web

6.3.1 Configuring MySQL to Use Encrypted Connections
To specify the CA certificate, use --ssl-ca (or --ssl-capath ), and specify --ssl-mode=VERIFY_CA . To enable host name identity verification as well, use...
Read more >
Enable SSL Connections for MySQL - TechDocs - Broadcom Inc.
SSL ensures additional security for Gateway MySQL connections. This is ideal where MySQL is located in a different network, and encryption ...
Read more >
Allow SSL certificate file configuration options #1214 - GitHub
My feature request: The ability to give a path to the certificate instead of the certificate contents. This can be either a new...
Read more >
Configure SSL/TLS certificates | Cloud SQL for MySQL
Cloud SQL creates a server certificate ( server-ca.pem ) automatically when you create your instance. We recommend that you enforce all connections to...
Read more >
How to connect to a remote MySQL server using SSL on Ubuntu
Using the –ssl-ca, –ssl-cert, and –ssl-key options and entering a path to the relevant files every time you want to connect to remote...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found