little fixes

This commit is contained in:
2023-12-26 04:34:28 +06:00
parent 502633a0d5
commit 299a17db96
25 changed files with 113 additions and 49 deletions

View File

@ -5,18 +5,21 @@ date: 2023-05-12T18:20:00+05:00
tags: [linux, astra, alt, tls]
---
## Получение корневого сертификата
```shell
```bash
echo quit | openssl s_client -showcerts -servername <websi.te> -connect <websi.te>:443 > <certificate>.pem
```
## Astra Linux
### Перемещение сертификата
```shell
cp <certificate>.pem /usr/local/share/ca-certificates
```
### Обновление состава доверенного хранилища
```shell
dpkg-reconfigure ca-certificates
```
@ -24,11 +27,13 @@ dpkg-reconfigure ca-certificates
## Alt Linux
### Перемещение сертификата
```shell
cp <certificate>.pem /etc/pki/ca-trust/source/anchors/
```
### Обновление состава доверенного хранилища
```shell
update-ca-trust enable
update-ca-trust extract