sameersbn / sameersbn/docker-gitlab

Gitlab 10.4.X (Ubuntu 16.04) mysql ssl issues

Open
#1,494 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

Hello,
In ubuntu 16.04 mysql-client tools seems to use ssl by default (maybe only if the server support it?).
But we can't configure any ssl certificates so mysqladmin and mysql now fail withing my installation :(

I added --skip-ssl to this commands in the docker image and it works fine but the connection still try to use ssl and failed with rake db:migrate.

I'm not familiar with ruby any idea how to fix this ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SSL failure with the mysqladmin and mysql commands in the Docker image, then trace the database settings used by rake db:migrate. Check whether the image and migration entry point expose a consistent SSL configuration; done means migrations and the MySQL client tools work without requiring unavailable certificates.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, mysql, ruby, ubuntu
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.