Re: SSLCertificateFile localhost.crt does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Change "localhost.crt" to your current certificate name present in the mentioned directory. The syntax is by default, you may need to change as per your certificate names.

Instead of this: 
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt'

do this:
SSLCertificateFile: file '/etc/pki/tls/certs/ca-bundle.crt'

or 

SSLCertificateFile: file '/etc/pki/tls/certs/ca-bundle.trust.crt'


On Sun, 25 Dec 2022, 11:18 Jeffrey Denison, <jeffrey.denison@xxxxxxxxx> wrote:
Hi,
I installed Apache 2.4.54 on Fedora 37. I get the following error when
I attempt to run it:

$ httpd
AH00526: Syntax error on line 101 of /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not
exist or is empty

 $ ls /etc/pki/tls/certs
ca-bundle.crt  ca-bundle.trust.crt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux