Quantcast
Viewing latest article 5
Browse Latest Browse All 7

IBM HTTP Server presents funny characters with SSL is enabled

Image may be NSFW.
Clik here to view.

The problem is that there is not virtual host directive for names hosts and so IHS cannot find any information to serve for SSL

Wildcard general Hot Config ie DocumentRoot
#

# Use name-based virtual hosting.

#

NameVirtualHost *

#

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for requests without a known

# server name.

#

<VirtualHost *>

# ServerAdmin webmaster@dummy-host.example.com

# DocumentRoot /www/docs/dummy-host.example.com

# ServerName dummy-host.example.com

# ErrorLog logs/dummy-host.example.com-error.log

# CustomLog logs/dummy-host.example.com-access.log common

</VirtualHost>

<VirtualHost *>

ServerAdmin webmaster@webspheretools.com

DocumentRoot “D:/ihs7/htdocs”

ServerName localhost

ErrorLog logs/localhost.log

CustomLog logs/localhost.log common

</VirtualHost>

Sample ssL config for listening on port 443
LoadModule ibm_ssl_module modules/mod_ibm_ssl.so

Listen 0.0.0.0:443

<VirtualHost *:443>

SSLEnable

SSLProtocolDisable SSLv2

SSLServerCert myselfsignedcert

SSLClientAuth None

</VirtualHost>

SSLDisable

KeyFile “d:\ihs7\bin\mykey.kdb”

SSLV3Timeout 1000

Note: This is just some pointers to help with IHS SSL errors. What I would normally do is set a virtual host for the names domain ie www.webspheretools.com as opposed to setting to * which means any host.


Viewing latest article 5
Browse Latest Browse All 7

Trending Articles