'2023/01/09'에 해당되는 글 1건

httpd 를 한번도 실행해 주지 않은 상태에서 apachetl configtest 했더니 아래와 같은 오류 메시지가 나오더군요~

 

[root@ivps ~]# apachectl configtest
AH00526: Syntax error on line 85 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
[root@ivps ~]# vi /etc/httpd/conf.d/ssl.conf

 

[root@ivps ~]# ls -l /etc/pki/tls/certs/localhost.crt
ls: cannot access '/etc/pki/tls/certs/localhost.crt': No such file or directory


[root@ivps ~]# systemctl restart httpd
[root@ivps ~]# apachectl configtest
Syntax OK
[root@ivps ~]# ls -l /etc/pki/tls/certs/localhost.crt
-rw-r--r--. 1 root root 3720 Jan  9 05:06 /etc/pki/tls/certs/localhost.crt

 

httpd 를 한번 실행해주면 되네요~

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,