Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-199

Missing localhost.crt file after installing RPM

XMLWordPrintable

    • CR1
    • Hide

      yum groupinstall -y jbcs-httpd24
      service jbcs-httpd24-httpd start
      or
      systemctl start jbcs-httpd24-httpd.service

      Show
      yum groupinstall -y jbcs-httpd24 service jbcs-httpd24-httpd start or systemctl start jbcs-httpd24-httpd.service

      There is missing localhost.crt file after installing jbcs httpd 2.4.23. Should be created by postinstall script during RPM instalation.

      Console output:
      Starting httpd: AH00526: Syntax error on line 122 of /opt/rh/jbcs-httpd24/root/etc/httpd/conf.d/ssl.conf:
      SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty
      [FAILED]

      ROOT cause:
      OpenSSL is installed to /opt/rh/jbcs-httpd24/root/usr/bin/openssl and it try to find /lib/libcrypto.so.1.0.2h file instead of /opt/rh/jbcs-httpd24/root/lib/libcrypto.so.1.0.2h and this is why localhost.key and localhost.crt are not created. Openssl faild.

            gzaronik@redhat.com George Zaronikas
            jonderka@redhat.com Jan Onderka
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: