본문 바로가기

서버

SSL 인증서 오류

오류상세 내용

AH01895: Unable to configure verify locations for client authentication
SSL Library Error: error:0200100D:system library:fopen:Permission denied (fopen('/home/file/RootChain/AAACertificateServices.Root.crt.pem','r'))
SSL Library Error: error:2006D002:BIO routines:BIO_new_file:system lib
SSL Library Error: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
SELinux httpd_sys_rw_content_t

 

서버가 컨텐츠를 읽기와 쓰기 권한을 줘야한다.

/home/file 해당경로 권한 httpd_sys_rw_content_t 적용

# 해당폴더에 httpd_sys_rw_content_t 권한이 있는지 확인
ll -Z
# 권한이 없다면
chcon -R -t httpd_sys_rw_content_t /home/file/