Change the SSL virtual host entry to this: <VirtualHost *:443>.

Host names are resolved *AFTER* SSL is initialized and it can't be
initialized until it gets into the virtual host you set up for SSL but
that can't happen until SSL is initialized which is why your SSL site
isn't working.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Chuck Wannall
Sent: Friday, March 09, 2007 11:06 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: [WEB400] Apache SSL problem

I seem to be having a problem getting apache to work with SSL
 
At the bottom, I have included the relevant portions of my httpd.conf
file.
 
I have received the SSL certificate, imported it into the DCM, and
assigned
the application QIBM_HTTP_SERVER_APACHE to that certificate.
 
I have restarted the Apache HTTP server.
 
I can access the site with http, but when I use https I am unable to
connect.
 
 
LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM
LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM
Listen *:80
Listen *:443
DocumentRoot /www/apache/htdocs
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes
-IncludesNOEXEC -MultiViews -Indexes
ErrorLog logs/basic_error_log
UseCanonicalName Off
HotBackup Off
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "MSIE 4\.0b2;" nokeepalive force-response-1.0
JkWorkersFile /www/apache/conf/workers.properties
JkLogFile /www/apache/logs/jk.log
JkLogLevel error
JkMount /example/* inprocess
JkMount /servlet/* inprocess
UserDir disable

<virtualhost aar.calarts.edu:80>
DocumentRoot /www/apache/htdocs
<Directory />
   order deny,allow
   deny from all
</Directory>
</virtualhost>
 
<virtualhost aar.calarts.edu:443>
DocumentRoot /www/apache/htdocs
SSLEngine On
SSLAppName QIBM_HTTP_SERVER_APACHE
SetEnv HTTPS_PORT 443
<Directory />
   order deny,allow
   deny from all
</Directory>
</virtualhost>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.