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/14 15:25] val [Интерактивное подключение по ssl] |
||
---|---|---|---|
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 | ||
+ | |||
+ | $ faketime -f "+500d" ... | ||
$ openssl s_client -CApath /etc/ssl/certs/ -starttls smtp -crlf -connect mailhub.bmstu.ru:25 | $ openssl s_client -CApath /etc/ssl/certs/ -starttls smtp -crlf -connect mailhub.bmstu.ru:25 | ||
Line 98: | Line 100: | ||
<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> | ||