This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
пакет_openssl [2021/11/05 20:19] val [Создание сертификата] |
пакет_openssl [2022/01/11 08:13] val [Просмотр содержимого файла сертификата] |
||
---|---|---|---|
Line 15: | Line 15: | ||
===== Интерактивное подключение по ssl ===== | ===== Интерактивное подключение по ssl ===== | ||
<code> | <code> | ||
- | $ openssl s_client -CApath /etc/ssl/certs/ -connect student.bmstu.ru:443 | + | $ openssl s_client -connect ru.wikipedia.org:443 |
$ openssl s_client -CApath /etc/ssl/certs/ -showcerts -connect student.bmstu.ru:443 | $ openssl s_client -CApath /etc/ssl/certs/ -showcerts -connect student.bmstu.ru:443 | ||
Line 98: | Line 98: | ||
<code> | <code> | ||
server# openssl x509 -text -noout -in server.crt | server# openssl x509 -text -noout -in server.crt | ||
+ | |||
+ | server# openssl x509 -text -noout -in - | ||
+ | |||
+ | server# openssl x509 -text -noout | ||
</code> | </code> | ||