How to change secure port for WebAccess running on SLES12 for GW18.

  • 7023261
  • 13-Aug-2018
  • 13-Aug-2018

Environment


GroupWise 18
SUSE Linux Enterprise Server 12

Situation

In your LAN environment you would like to use different ports than default 80/443 for WebAccess.

Resolution

Since securing WebAccess running on Linux is about securing apache web server, changes to achieve that goal need to be done in few apache configuration files:

1. /etc/apache2/listen.conf file.
Here make sure that listen is set to 8080 and SSL listen port to 8443.

2. /etc/apache2/vhosts.d/vhost-ssl.conf
Set VirtualHost_default_  parameter to 8443

3. /etc/apache2/conf.d/rewrite.conf
Add a port number parameter to the last line, i.e. like:
RewriteRule ^/?(.*) https://%{SERVER_NAME}:8443/$1 [R,L]

Stop and restart apache web server to take effect of those changes.
Then if you hit:

http://<ip_web>:8080/gw

it gets redirected to:

https://<ip_web>:8443/gw/webacc

and you shall get a login page of WebAccess site.