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

RHEL PPC: postinstall openssl can't create key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • httpd 2.4.23 ER3
    • httpd 2.4.23 DR3
    • None
    • None
    • ER3

      Postinstall scripts do not create localhost key on RHEL PPC. Part of script run separately:

      $> sbin/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > /etc/pki/tls/private/localhost.key
      sbin/openssl: /usr/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by sbin/openssl)
      

      For comparsion RHEL x64:

      $> sbin/openssl genrsa -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime 1024 > /etc/pki/tls/private/localhost.key
      WARNING: can't open config file: /opt/rh/jbcs-httpd24/root/etc/pki/tls/openssl.cnf
      3010 semi-random bytes loaded
      Generating RSA private key, 1024 bit long modulus
      .............++++++
      ...++++++
      e is 65537 (0x10001)
      

      On PPC empty file /etc/pki/tls/private/localhost.key is created.

            gzaronik@redhat.com George Zaronikas
            fgoldefu@redhat.com Filip Goldefus (Inactive)
            Filip Goldefus Filip Goldefus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: