Systemd And Httpd

Home » CentOS » Systemd And Httpd
CentOS 4 Comments

Hello,

On my new CentOS 7 server httpd stops running after about two minutes or so. strace shows me the process is asking for a password, and failing to get one, times out. In reading the docs I see an option to systemd:
–no-ask-password. Can anyone tell me where and how to set this?

As a workaround, I added “KillMode=none” to httpd.service, but I’d rather use the option to just not ask for a password.

Thanks, Jack

4 thoughts on - Systemd And Httpd

  • I think that means you have a passphrase on the ssl certificate it is configured to use. So https probably isn’t going to work the way you expect unless you remove the key encryption or supply the passphrase.

  • I’m moving a web site from CentOS 6 to CentOS 7 where the site currently works without prompting for a password. I’ll check to see if the passphase is removed from the cert.

    Thanks, Jack

  • I don’t have passphrases on certificates ()

    ++++++++++++++++++++++++++++++++++++++++
    Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247
    ++++++++++++++++++++++++++++++++++++++++

    ——– Original message ——–
    From: Jack Bailey
    Date:2014/08/15 16:52 (GMT-06:00)
    Subject: Re: [CentOS] systemd and httpd

    I’m moving a web site from CentOS 6 to CentOS 7 where the site currently works without prompting for a password. I’ll check to see if the passphase is removed from the cert.

    Thanks, Jack