Comments (5)
I don't think it comes out of box. Per my understanding, it just needs some options to be enabled in connection string. But it shouldn't be too hard to add it. Probably just change MysqlDataSourceFactory.java . Do you have a sample connection string you want to use?
from teletraan.
Nope. I'm not familiar with JDBC and also Java. As I read Connector/J documentation, the parameter would looks like &useSSL=true&requireSSL=true&verifyServerCertificate=true&clientCertificateKeyStoreUrl=/path/to/client-cert.jks&clientCertificateKeyStoreType=JKS&trustCertificateKeyStoreUrl=/path/to/server-cert.jks&trustCertificateKeySToreType=JKS
An alternative MySQL client command line to intended to make same connection is mysql -u user -p --ssl-cert /path/to/client-cert.pem --ssl-key=/path/to/client-key.pem --ssl-ca /path/to/server-ca.pem
The transformation to JSK from PEM is done by converting PEM to DER using openssl, then import it to JKS keystore using keytool.
from teletraan.
I have made a change #364 so you can pass connection properties,
for ex,
db:
type: mysql
host: ${TELETRAAN_DB_HOST:-localhost}
port: 3306
userName: root
password:
connectionProperties:
useSSL: true
verifyServerCertificate: true
from teletraan.
Merged
from teletraan.
Thank you for your quick support! I'll try the latest revision in next few days.
from teletraan.
Related Issues (20)
- Review apps HOT 3
- Feature request: ability to stop/start environments HOT 5
- AutoDeploy doesn't respect cron schedule as expected HOT 13
- d
- Reduce traffic between deploy-agent and deploy-service HOT 2
- Improve teletraan GC behavior HOT 1
- The post-deploy webhook is currently only called on successful deploys HOT 1
- `pip install deploy-agent` doesnt work HOT 1
- Release Cadence? Last release was 2 years ago. HOT 2
- Pinging pinterest jira in env_landing HOT 2
- Undocumented things HOT 5
- Current builds on ngapp2 overview pages are incorrect HOT 4
- Clicking on a date in the ngapp2 deploys page does nothing
- Incorrect list of commits after deploying a cherry-pick build
- feature request: to be able to mark a stage as prod and require confirmation for prod deployment
- Teletran fetches list of "committers" based on original diff author instead of person who landed the diff
- Create new environment button on UI redirects to /None
- Missing migrations from the schema upgrade script.
- PR #831 broke stale host cleanup for hosts that are part of groups HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teletraan.