相关疑难解决方法(0)

阻止 apache 每次重新启动时要求输入 SSL 密码

使用来自该站点的说明但稍微改变它们我使用 -newca 创建了一个 CA,我复制cacert.pem到我的 comp 并在 IE 中作为受信任的发行者导入。然后我做了 -newreq 和 -sign (注意:我做/full/path/CA.sh -cmd和不做sh CA.sh -cmd)并将证书和密钥移动到 apache。

我在 IE 中访问了该站点并使用 .NET 代码,它看起来很受信任,很棒(除非我在前面写了 www. 这是预期的)。但是每次我重新启动 apache 时,我都需要输入我的网站密码?

我怎样才能做到这样我就不需要输入密码?

ssl openssl ssl-certificate init.d apache-2.2

46
推荐指数
2
解决办法
12万
查看次数

添加ssl后Nginx不会重启

我添加了一些修改我的 root@mypage:/etc/nginx/sites-available/default

当我这样做时sudo service nginx restart ,服务器会返回此错误:Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.

如果我运行nginx -t -c /etc/nginx/nginx.conf输出是

Enter PEM pass phrase: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful

有人可以告诉我我做错了什么吗?我在这里完全空白

这是root@mypage:/etc/nginx/sites-available/default文件

 server {
    listen 80;
    listen [::]:80 default_server ipv6only=on;

    server_name mypage.com;
    passenger_enabled on;
    rails_env    production;
    root         /home/deploy/mypage/current/public;

    # redirect server error pages to …
Run Code Online (Sandbox Code Playgroud)

ssl vps nginx ssl-certificate

0
推荐指数
1
解决办法
2595
查看次数

标签 统计

ssl ×2

ssl-certificate ×2

apache-2.2 ×1

init.d ×1

nginx ×1

openssl ×1

vps ×1