安装Startssl的证书时出现如下错误:
nginx: [emerg] PEM_read_bio_X509_AUX(“/etc/nginx/conf/ssl-unified.crt”) failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
经排查,是连接证书
‘’’
cat ssl.crt sub.class1.server.ca.pem > /etc/nginx/conf/ssl-unified.crt
‘’’
造成的
打开 /etc/nginx/conf/ssl-unified.crt
找到中间的
|
|
—–END CERTIFICATE—–
—–BEGIN CERTIFICATE—–
```
OK.