Page 1 of 1

SSL - New Machine

Posted: Thu Sep 12, 2019 3:49 pm
by shuffman
Any idea why i get these 2 entries in the apache log after enabling SSL in the apache config. The server starts but only returns internal server errors. I've done this many times but this machine is brand new and i'm wondering if i missed some default setting. Appears to be something with CCSID but i can't figure out what.

[Thu Sep 12 11:34:08.677672 2019] [core:error] [pid 6702:tid 00000041] [client 10.100.0.80:12833] ZSRV_MSG0947: End of script output before headers: File name is PUI0003000.PGM
[Thu Sep 12 11:34:08.677776 2019] [cgi:error] [pid 6702:tid 00000041] [client 10.100.0.80:12833] AH01215: QP0ZPUTENVCCSID OF FAILED WITH ERRNO 3021 FOR CGI /QSYS.LIB/VISION.LIB/PUI0003000.PGM: /QSYS.LIB/VISION.LIB/PUI0003000.PGM

Runs fine if i remove this:

Code: Select all

Listen 4082
SSLAppName GMDVISION.ORG
<VirtualHost *:4082>
   SSLEngine On
   SSLAppName GMDVISION.ORG
   ScriptAlias /vision/menu /QSYS.LIB/VISION.LIB/PUI0003000.PGM
   Alias /vision /www/vision/htdocs/profoundui/userdata/html/vision_login.html
</VirtualHost>

Re: SSL - New Machine

Posted: Thu Sep 12, 2019 4:09 pm
by Scott Klement
Is this IBM i 7.4?

There is a bug in that release of the OS that produces errors like this. There's a PTF that fixes it.
https://www-01.ibm.com/support/docview. ... as3SI70862

Re: SSL - New Machine

Posted: Thu Sep 12, 2019 5:15 pm
by shuffman
It is 7.4 and that PTF definitely fits the description but it is already applied. Perhaps i'll have to go to IBM with this one.

Re: SSL - New Machine

Posted: Thu Sep 12, 2019 5:22 pm
by Scott Klement
The error messages you're receiving are identical to ones I received before I applied that PTF. But, the PTF solved it for me.

If it is the same problem, you could comment out the "DefaultNetCCSID 1208" from your httpd.conf, and that would also get things working. (Albeit, you may have missing functionality since you're no longer using UTF-8.)