全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1137|回复: 4

在nginx下生成的ssl,如何直接用在apache?

[复制链接]
发表于 2013-3-3 12:16:35 | 显示全部楼层 |阅读模式
生成时的信息都忘了。
比如省份,城市之类的。

我现在只有nginx下的crt和一个pem文件。

想在apache装个证书,不知道怎么弄。
发表于 2013-3-3 12:17:49 | 显示全部楼层
重新生成,重新申请
发表于 2013-3-3 12:18:10 | 显示全部楼层
重新
 楼主| 发表于 2013-3-3 12:20:16 | 显示全部楼层
只有reissue这个按钮。

       

SSL reissue means your certificate will be replaced by a new one. A reissued SSL certificate is only valid till the remaining time on the original certificate. You can request a reissue only for the same domain name as mentioned on the original certificate.

Reissue for Geotrust certificates like RapidSSL, RapidSSL Wildcard, QuickSSL, QuickSSL Premium, True BusinessID with EV certificates can be processed by Geotrust directly.
Please click below button to visit Geotrust.
发表于 2013-3-3 12:23:39 | 显示全部楼层
<VirtualHost IP:443>
     DocumentRoot /var/www/html
     ServerName your.domain.com
     ServerAdmin [email protected]
     ErrorLog /etc/httpd/logs/ssl_error_log
     TransferLog /etc/httpd/logs/ssl_access_log
     SSLEngine On
     SSLCertificateFile /etc/httpd/conf/ssl.crt/crt.crt
     SSLCertificateKeyFile /etc/httpd/conf/ssl.key/key.key
    <Files ~ "\.(cgi|shtml|php)$">
      SSLOptions +StdEnvVars
    </Files>
    <Directory "/var/www/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    CustomLog /etc/httpd/logs/ssl_request_log \
      "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

只要crt和key正确就行
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-1-10 01:40 , Processed in 0.129561 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表