remove shell

This commit is contained in:
root
2023-09-24 18:46:20 +03:00
parent 78f49dc907
commit 65914f8895
26 changed files with 132 additions and 132 deletions

View File

@ -5,7 +5,7 @@ date: 2023-05-12T18:20:00+05:00
tags: [linux, astra, alt, tls]
---
## Получение корневого сертификата
```shell
```
echo quit | openssl s_client -showcerts \
-servername <websi.te> -connect <websi.te>:443 > <certificate>.pem
```
@ -13,24 +13,24 @@ echo quit | openssl s_client -showcerts \
## Astra Linux
### Перемещение сертификата
```shell
```
cp <certificate>.pem /usr/local/share/ca-certificates
```
### Обновление состава доверенного хранилища
```shell
```
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
```