certs.yoona.dev

Корневой сертификат внутреннего центра сертификации.Root certificate of the internal certificate authority.

СкачатьDownload

yoona-internal-ca.crtкорневой сертификат, PEMroot certificate, PEM yoona-internal-ca.sha256контрольная сумма, формат sha256sum -cchecksum, sha256sum -c format

Ссылки перманентные — их можно зашивать в скрипты и CI. Корень действует до 13 августа 2036 года; перевыпуск листовых сертификатов переустановки корня не требует.The links are permanent — safe to hardcode in scripts and CI. The root is valid until 13 August 2036; reissuing leaf certificates does not require reinstalling it.

Отпечаток корня (SHA-256 сертификата)Root fingerprint (certificate SHA-256)

Отпечаток сертификата — то, что показывают браузер и openssl x509 -fingerprint -sha256Certificate fingerprint — what the browser and openssl x509 -fingerprint -sha256 show

B1:F6:53:D6:D1:A6:B5:64:00:AD:85:ED:9C:D9:9D:60:26:60:B6:5F:36:49:5F:95:88:6D:30:A3:99:8E:48:F2

SHA-256 самого файла yoona-internal-ca.crt — то, что проверяет sha256sumSHA-256 of the yoona-internal-ca.crt file itself — what sha256sum verifies

bf06f6f46ed05eafafbbc684b6949cfa0cf798b2284958014a42906d2d21c025

Величины разные и не должны совпадать: первая считается по DER-телу сертификата, вторая — по байтам PEM-файла.The two values differ by design: the first is computed over the certificate's DER body, the second over the bytes of the PEM file.

CI и скриптыCI and scripts

curl -fsSLO https://certs.yoona.dev/yoona-internal-ca.crt
curl -fsSL https://certs.yoona.dev/yoona-internal-ca.sha256 | sha256sum -c
# Debian/Ubuntu:
sudo cp yoona-internal-ca.crt /usr/local/share/ca-certificates/ && sudo update-ca-certificates

Само имя certs.yoona.dev обслуживается сертификатом Let's Encrypt, так что curl работает без -k и без предварительно установленного корня.The host certs.yoona.dev itself is served with a Let's Encrypt certificate, so curl works without -k and without the root installed beforehand.

Установка на устройстваInstalling on devices

Установка не обязательна — браузер пустит и после предупреждения. Ставьте, если хотите обычный замок без вопросов.Installing is optional — the browser will let you through after a warning anyway. Install it if you want the usual padlock with no questions asked.

Android

Скинуть yoona-internal-ca.crt на телефон → Настройки → Безопасность и конфиденциальность → Другие параметры безопасности → Установка сертификатовСертификат ЦС → выбрать файл и подтвердить предупреждение.Copy yoona-internal-ca.crt to the phone → Settings → Security & privacy → More security settings → Install certificatesCA certificate → pick the file and confirm the warning.

Firefox на Android использует собственное хранилище и системный корень не видит: либо ходить из Chrome, либо включить security.enterprise_roots.enabled в about:config.Firefox on Android uses its own trust store and ignores the system root: either use Chrome, or enable security.enterprise_roots.enabled in about:config.

iOS

Открыть файл в Safari — предложит установить профиль → Настройки → Основные → VPN и управление устройством → установить профиль → обязательно Настройки → Основные → Об этом устройстве → Доверие сертификатам → включить полное доверие.Open the file in Safari — it offers to install a profile → Settings → General → VPN & Device Management → install the profile → required Settings → General → About → Certificate Trust Settings → enable full trust.

Без последнего шага сертификат установлен, но не доверен — самая частая ошибка.Without that last step the certificate is installed but not trusted — the most common mistake.

macOS

sudo security add-trusted-cert -d -r trustRoot \
  -k /Library/Keychains/System.keychain yoona-internal-ca.crt

Linux (Debian/Ubuntu)

sudo cp yoona-internal-ca.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates

NixOS

security.pki.certificateFiles = [ ./yoona-internal-ca.crt ];

Windows

В консоли от имени администратора:In an elevated console:

certutil -addstore -f Root yoona-internal-ca.crt