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

Windows postinstall generates only machine hostname, but not localhost cert-key pair

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • httpd 2.4.23 CR1
    • httpd 2.4.6 GA
    • httpd
    • None
    • CR1

      Windows postinstall generates localhost and %COMPUTERNAME% certificates.
      The localhost ones are used in the default ssl.conf. So far so good.

      The current form of the script fails to generate the localhost pair though. It has been passing accidentally, because many machines actually have their computer name set to localhost.

      The bug is somewhat related to these if exists checks, but I've failed to determine how. It's weird.

      The attached patch works though: postinstall.httpd.bat.patch. It

      • exports OPENSSL_CONF so as openssl can find the config file (works, unlike the command line argument)
      • it removes tese if-exists checks and goto; it is not necessary to have them anyway
      • it pimps up key length to 2048

      Please, consider looking into it.

            gzaronik@redhat.com George Zaronikas
            mbabacek1@redhat.com Michal Karm
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: