Openssl » История » Версия 3
Андрей Волков, 2016-09-29 16:21
1 | 1 | Андрей Волков | h1. Openssl |
---|---|---|---|
2 | |||
3 | h2. Генерация запроса с ключем |
||
4 | |||
5 | <pre> |
||
6 | 2 | Андрей Волков | openssl req -new -nodes -newkey rsa:2048 -sha256 -keyform PEM -keyout domain-wildcard-2014.key -outform PEM -out domain-wildcard-2014.csr -subj /C=RU/ST=Sverdlovskaya\ oblast/L=Yekaterinburg/O=OOO\ Big\ City\ Events/CN=*.domain.ru/emailAddress=support@domain.ru/ |
7 | 1 | Андрей Волков | </pre> |
8 | |||
9 | <pre> |
||
10 | Generating a 2048 bit RSA private key |
||
11 | ................................................................................................................+++ |
||
12 | .....+++ |
||
13 | 2 | Андрей Волков | writing new private key to 'domain-wildcard-2014.key' |
14 | 1 | Андрей Волков | ----- |
15 | </pre> |
||
16 | 3 | Андрей Волков | |
17 | |||
18 | h2. Подключение через STARTTLS к SMTP |
||
19 | |||
20 | <pre> |
||
21 | echo QUIT | /usr/bin/openssl s_client -starttls smtp -ign_eof -connect mail.ekb-info.ru:25 2>/dev/null | openssl x509 -enddate -noout |
||
22 | </pre> |