产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] BBShijieSSL-1.1 不生效

Gowe
铁牌会员
10.00 价值分

Gowe 发表于 2014-07-31 21:31:25
首先感谢热心人阅读我的提问。
我在模块扩展中安装了 BBShijieSSL-1.1
而后添加了key和crt
之后我测试 https://domain.com/ 还是无法访问,用工具看了下443端口是关闭状态
我用putty登录了VPS
使用 netstat -apn 命令
Active Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program nametcp 0 0 0.0.0.0:80 0.0.0.0:* LIST EN 10672/nginxtcp 0 0 0.0.0.0:21 0.0.0.0:* LIST EN 7931/pure-ftpd (SERtcp 0 0 0.0.0.0:22 0.0.0.0:* LIST EN 869/sshdtcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN 956/mastertcp 0 0 0.0.0.0:8000 0.0.0.0:* LIST EN 10672/nginxtcp 0 0 0.0.0.0:3306 0.0.0.0:* LIST EN 7907/mysqldtcp 0 0 108.61.x.x:22 218.11.x.x:10408 ESTA BLISHED 1002/sshdtcp 0 288 108.61.x.x:22 218.11.x.x:9862 ESTA BLISHED 12258/sshdtcp 0 0 :::21 :::* LIST EN 7931/pure-ftpd (SERtcp 0 0 :::22 :::* LIST EN 869/sshdtcp 0 0 ::1:25 :::* LIST EN 956/masterudp 0 0 108.61.x.x:123 0.0.0.0:* 877/ntpdudp 0 0 127.0.0.1:123 0.0.0.0:* 877/ntpdudp 0 0 0.0.0.0:123 0.0.0.0:* 877/ntpdudp 0 0 fe80::5054:ff:fea9:xxxx:xxx :::* 877/ntpdudp 0 0 ::1:123 :::* 877/ntpdudp 0 0 :::123 :::* 877/ntpd发现443端口没有在listening状态
请问是不是还需要其他设置操作?
是否需要手动更改Nginx.conf?
附:设置SSL显示成功后的Nginx.conf
引用:
user www www;worker_processes auto;
error_log /home/wwwroot/index/log/nginx_error.log crit;
pid /usr/local/nginx/logs/nginx.pid;

#Specifies the value for maximum file descriptors that can be opened by this process.
worker_rlimit_nofile 51200;

events
{
use epoll;
worker_connections 51200;
}

http
{
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 128;
client_header_buffer_size 4k;
large_client_header_buffers 4 4k;
client_max_body_size 50m;

sendfile on;
tcp_nopush on;

keepalive_timeout 60 60;

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 16k;
fastcgi_buffers 16 16k;
fastcgi_busy_buffers_size 16k;
fastcgi_temp_file_write_size 16k;
fastcgi_intercept_errors on;

tcp_nodelay on;
server_tokens off;
gzip on;
gzip_min_length 1000;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml application/rss+xml application/xhtml+xml application/atom_xml;
gzip_disable "MSIE [1-6].(?!.*SV1)";
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';

include vhost/*.conf;
server
{
listen 8000;
server_name 108.61.216.6;
index index.html index.htm index.php;
root /home/wwwroot/index/web;
fastcgi_buffer_size 4k;
fastcgi_buffers 8 4k;
fastcgi_busy_buffers_size 4k;
gzip off;

location ~ .*\.php$
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}

location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}

location ~ .*\.(js|css)?$
{
expires 12h;
}

access_log /home/wwwroot/index/log/access.log combined;
error_log /home/wwwroot/index/log/error.log crit;
}

server
{
listen 80 default;
return 400;
}
}

2014-07-31 21:31:25 1

Yusky
金牌会员
11307.70 价值分

使用插件添加后一般会默认加443端口的。或者你手动安装ssl。。
  支持 (0分)  反对 (0分)
回复  2014-07-31 23:39:43 2

tonghoil
银牌会员
1774.68 价值分

支持卸载插件 重新安装
  支持 (0分)  反对 (0分)
回复  2014-08-01 15:31:50 3

97505227
银牌会员
4891.15 价值分

tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1409/nginx
  支持 (0分)  反对 (0分)
回复  2014-08-02 10:26:11 4
 1  (总1页)
AMH社区列表
用户服务中心