Hướng dẫn fix lỗi httpsd.pem failed trên Plesk
Hướng dẫn fix lỗi httpsd.pem khi start plesk
1. Kiểm tra service sw-cp-server
service sw-cp-server status
Starting sw-cp-serverd: nginx: [emerg] BIO_new_file("/usr/local/psa/admin/conf/httpsd.pem") failed (SSL:
error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/admin/conf/httpsd.pem','r')
error:2006D080:BIO routines:BIO_new_file:no such file)
Starting sw-cp-serverd: nginx: [emerg] BIO_new_file("/usr/local/psa/admin/conf/httpsd.pem") failed (SSL:
error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/admin/conf/httpsd.pem','r')
error:2006D080:BIO routines:BIO_new_file:no such file)
2. Truy cập ssh để tạo lại chứng chỉ httpsd.pem
cd /usr/local/psa/admin/conf/
openssl req -new -nodes -x509 -out httpsd.pem -newkey rsa:2048 -keyout httpsd.pem -days 3650
3. Restart dịch vụ sw-cp-server:
service sw-cp-server restart
Chúc các bạn thành công
Bình luận
Gửi