tarantool / tarantool/doc

tt CLI (2.10): ssl

Open
#5,552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tt cli
Dominant language
CSS
Stars
15
Forks
49
Avg merge
1d 13h
Merged PRs (30d)
3

Description

Product: tt CLI
Since: tt 2.10.0 - TBD
Dev ticket: TBD
Root document:

SME: @ lastoCHka42 @ georgiy-belyanin

Details

Для того чтобы с централизованным хранилищем конфигурации на базе Тарантул можно было работать, закрыв его сертификатом, есть требование со стороны tt к этим сертификатам. Их надо бы зафиксировать в документации tt.

Георгий Белянин (26.12.2025 14:51):
Привет! Я немного потыкался, короче, дело в том, что Go по-умолчанию верифицирует ключи при помощи SAN, поэтому тот, кто вызывает, должен иметь возможность проверифицировать ключ через SAN, это можно сделать на localhost при помощи явного DNS

cat <<EOF > domains.ext
subjectAltName = @alt_names
[alt_names]
DNS.1 = localhost
IP.1 = 127.0.0.1
EOF

openssl req -x509 -nodes -days 8192 -newkey rsa:2048 -keyout ca.key -out ca.pem
openssl x509 -outform pem -in ca.pem -out ca.crt
openssl req -nodes -newkey rsa:2048 -keyout localhost.key -out localhost.csr 
openssl x509 -req -sha256 -days 8192 -in localhost.csr -CA ca.pem -CAkey ca.key -CAcreateserial -extfile domains.ext -out localhost.crt

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 with the tt CLI documentation at https://www.tarantool.io/en/doc/latest/tooling/tt_cli/ and review the SSL certificate requirements described in the issue. Document the SAN requirements and the provided localhost certificate-generation example. The work is done when users can determine which certificate names tt accepts and how to create a suitable certificate.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.