Re: SSLCertificateFile localhost.crt does not exist

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

 



Can someone tell me how to remove Apache 2.4 HTTP server I installed
from source? I can't get it to run & I see it's in the Fedora repos &
can be installed from dns. I thought I might have better success if I
remove the one I installed & reinstall from the command line. I don't
see any uninstall command & see pieces scattered in various
directories.
thanks

On 12/27/22, Frank Gingras <thumbs@xxxxxxxxxx> wrote:
> The first is a warning, and it tells you how to suppress it.
>
> The second implies that you need to remove the pidfile before you can
> restart httpd, so do that.
>
> On Sun, Dec 25, 2022 at 3:10 PM Jeffrey Denison <jeffrey.denison@xxxxxxxxx>
> wrote:
>
>> @vicky chb
>> I changed ssl.conf but don't know how to replace the
>> SSLcertificatekeyFile directive. Can you tell me how to do that.
>>
>> Now I get this error msg:
>>
>>  $ httpd
>> AH00558: httpd: Could not reliably determine the server's fully
>> qualified domain name, using fe80::36d6:b0f7:e2cc:c2ba%eno1. Set the
>> 'ServerName' directive globally to suppress this message
>> (13)Permission denied: AH00058: Error retrieving pid file run/httpd.pid
>> AH00059: Remove it before continuing if it is corrupted.
>>
>>
>> On 12/25/22, vicky chb <vkychb04@xxxxxxxxx> wrote:
>> > Its not a command. Go to /etc/httpd/conf.d/ and open ssl.conf in vi or
>> > whichever editor you like. Search for the below mentioned Directive
>> > line
>> >
>> > SSLCertificateFile: '/etc/pki/tls/certs/localhost.crt'
>> >
>> > edit this line and replace localhost.crt with your certificate name
>> > here
>> > ca-bundle.crt or ca-bundle.trust.crt
>> >
>> > Also, replace SSLCertificateKeyFile directive with your private key.
>> >
>> > On Sun, 25 Dec 2022, 14:14 Jeffrey Denison, <jeffrey.denison@xxxxxxxxx>
>> > wrote:
>> >
>> >> Thanks Vicky. Can you give me the whole command?
>> >>
>> >> On 12/24/22, vicky chb <vkychb04@xxxxxxxxx> wrote:
>> >> > 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
>> >> >>
>> >> >>
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>> >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>

---------------------------------------------------------------------
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