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

Windows postinstall is too noisy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • httpd 2.4.23 SP3 DR1
    • httpd 2.4.23 CR4
    • None
    • None
    • Release Notes

      Too much noise from windows postinstall is caused by removing output redirection when creating certificates "2> null"

      type stdin.tmp | openssl req -new -key etc/ssl/private/%COMPUTERNAME%.key -x509 -days 365 -set_serial %RANDOM% -out etc/ssl/certs/%COMPUTERNAME%.crt
      

      vs

      type stdin.tmp | openssl req -new -key etc/ssl/private/%COMPUTERNAME%.key -x509 -days 365 -set_serial %RANDOM% -out etc/ssl/certs/%COMPUTERNAME%.crt 2>NUL
      

      Issue:
      2.4.6

      Starting JBoss Core Services Apache 2.4 post installation...
      
      Version....... 2.4.6
      
      Setting up Apache Httpd ...
      Creating 'W2K8-KLOBASA' SSL certificates ...
      Creating 'localhost' SSL certificates ...
      
      [Mon 12/12/2016  1:11:34.93] Done
      
      

      2.4.23

      Starting JBoss Web Server post installation...
      
      Version....... 2.4.23
      
      Setting up Apache Httpd ...
      symbolic link created for modules <<===>> ..\..\lib64\httpd\modules
      symbolic link created for logs <<===>> ..\..\var\log\httpd
      symbolic link created for run <<===>> ..\..\var\run\httpd
      Creating 'W2K8-KLOBASA' SSL certificates ...
      Creating 'localhost' SSL certificates ...
      
      [Mon 12/12/2016  0:21:35.96] Done
      
      , stdErr:0 semi-random bytes loaded
      Generating RSA private key, 2048 bit long modulus
      ........................................+++
      ....................................+++
      e is 65537 (0x10001)
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) [XX]:State or Province Name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:0 semi-random bytes loaded
      Generating RSA private key, 2048 bit long modulus
      .+++
      ..........................................+++
      e is 65537 (0x10001)
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) [XX]:State or Province Name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:
      

              rhn-engineering-jclere Jean-Frederic Clere
              bsikora Bogdan Sikora (Inactive)
              Karm Karm Karm Karm
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: