Заказ сертификата происходит в несколько шагов:
[PS] C:\>Import-ExchangeCertificate -Path C:\your_domain_name.cer | Enable-ExchangeCertificate -Services "SMTP, IMAP, POP, IIS"
[PS] C:\> Get-ExchangeCertificate -DomainName your.domain.name
Thumbprint Services Subject ---------- ---------- ---------- 136849A2963709E2753214BED76C7D6DB1E4A270 SIP.W CN=your.domain.name [PS] C:\>
[PS]C:\>Enable-ExchangeCertificate -ThumbPrint [paste] -Services "SMTP, IMAP, POP, IIS"
-----BEGIN RSA PRIVATE KEY----- (your_private.key) ------END RSA PRIVATE KEY------ -------BEGIN CERTIFICATE------- (your_domain_name.crt) --------END CERTIFICATE--------
- TLS_CERTFILE=/some/path/yourdomain_cert_key.pem - TLS_TRUSTCERTS=/some/path/root.crt
- TLS_PROTOCOL=SSL3
- TLS_CERTFILE=/some/path/yourdomain_cert_key.pem - TLS_TRUSTCERTS=/some/path/root.crt
SSLEngine on SSLCertificateFile /path/to/your_domain_name.crt SSLCertificateKeyFile /path/to/your_private.key SSLCertificateChainFile /path/to/root.crt
[root@server~]# apachectl configtest
[root@server~]# cat root.crt >> your_domain_name.crt
listen 443; ssl on; ssl_certificate /etc/ssl/your_domain_name.crt; ssl_certificate_key /etc/ssl/your_domain_name.key;
[root@server~]#/etc/init.d/nginx restart