- 积分
- 50
- 威望
-
- 金钱
-
- 注册时间
- 2014-7-30
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
本帖最后由 robin 于 2023-2-1 22:36 编辑
之前用xxx.com在A服务器搭建了一个https站点,现在想用www.xxx.com在B服务器搭建一个https站点,在添加https的时候显示ssl创建成功,但是Nginx却报错,换了几个服务器都是报同样的错误,请教军哥,同一个域名,www和不带www的ssl只能同时应用于一个站点吗?
报错信息如下:
- nginx: [emerg] cannot load certificate "/usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
- nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
- Reload Nginx......
- nginx: [emerg] cannot load certificate "/usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/nginx/conf/ssl/www.xxx.com/fullchain.cer','r') error:2006D080:BIO routines:BIO_new_file:no such file)
复制代码
|
|