GroupWise Web (GWWEB) Best Practices

Applicable to GroupWise GWWEB versions 18.3, 18.4.x, 18.5, 23.4, 24.1, 24.2, 24.3, and newer

GroupWise 18.3 introduced the Web Client "GWWEB", which replaced the previous "GroupWise Webaccess" application that was built on Apache/Tomcat.  GWWEB is designed from the ground up and is implemented via Docker Containers to run a self-contained web mail application. There are very few options and it doesn't take much to get going. My goal is to provide real world information that goes above and beyond what you find in the official GroupWise GWWEB product documentation. I'm making the assumption that you've looked at the documentation that can be found here: Setting Up GroupWise Web - GroupWise Installation Guide

The End Result / What To Expect

Much of the GroupWise 23.4 release was rebranding GroupWise from Micro Focus to Opentext. With this release, any previous customization or site-specific branding that could have been done previously was no longer possible.  Below is a screenshot of the GroupWise 23.4 GWWeb login screen. Although it does not mean everything is working perfectly, if you get this screen when connecting to GroupWise mail with an Internet browser, you can be confident that the new GroupWise Web application is running. Note that login screen customization was reintroduced to GWWEB in version 24.2.

Updating GWWEB with each new release

If you already have a functional GWWEB implementation, the biggest question that comes up is how to properly update it when a new version is released. Fortunately, this is a pretty simple process that only takes a few minutes.

There are two primary steps in the process:

  1. Pull and run a new web-config to create/update any relevant config files.
  2. Pull and run the new gwweb app inside docker.

GWWEB "web-config" Update

Every release of GWWEB has generally brought some new config files into the mix.  Therefore, you MUST pull and run a new GWWEB config any time you update. This will create / update the various files that are required to run and operate GWWEB.  Failure to do this could result in connection problems or a failed GWWEB after the update.  Follow this simple process to fully update your GWWEB Configs:

  • Pull a new GWWEB Config from the Microfocus Docker Repository:
    1. # docker pull mfgroupwise/web-config
    2. # docker run -it -v /opt/novell/gw:/config -e GWADMIN_SERVICE=admin@192.168.5.5:9710 -e GWSOAP_HOST_DEFAULT=192.168.5.7 mfgroupwise/web-config
  • Make sure to change the following to fit your environment:
    • GroupWise Admin Service login name
    • IP Address of the GroupWise Administration service
    • Port Number of the GroupWise Administration Service
    • The IP Address of one of the Post Offices in your environment (with SOAP enabled, which generally is)

GWWEB Application Update

This process to actually update the GWWEB Application is very straight forward and simple. Follow these easy steps below:

  1. Pull the new GWWEB application from the Microfocus Docker repository.
    • # docker pull mfgroupwise/web:latest
  2. Stop the current GWWEB application
    • # docker stop gwweb
  3. Remove the current GWWEB application
    • # docker rm gwweb
  4. Launch GWWEB to run the new version you just pulled.
    • # docker run -d --restart always -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webmail.redjuju.com -e DNS_SERVER=192.168.1.5 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs -v /opt/novell/gw/logs/:/var/log/nginx/ -e GWSOAP_SSL_VERIFY=off mfgroupwise/web:latest
    • Make sure to change the following to fit your environment:
      • FQDN of your GroupWise GWWEB Server
      • IP Address of an accessible DNS server
  5. That's it.  If it worked before it should work again. If you have issues you can refer to various sections of this page to troubleshoot.

PRO TIPS:

Since you already had GWWEB setup before, the previous command lines you used are likely still in the history buffer of the Linux Console. You can use this to your advantage to easily put in the same commands as before, since the commands themselves do not change. To access the history buffer you can do some of the following:

  • # docker run + PAGE-UP Key
    • This will populate the command line with the previous "docker run" command. Page up multiple times until you find the one you need.
  • # history |grep -i "docker run"
    • This will show you any previous command. You can then copy/paste from there.

Confirm the Update was Successful

Once you have docker running after the update, it's easy to confirm that the update was successful. Just login to the GWWEB mail interface, click on the gear in the top right corner, and click "About".  This will show you the GroupWise version of the post office you are connected to as well as the version of GWWEB that you are running.

Problems you may Experience

  • Certificate Issues: You'll need to ensure that your certificates meet the GroupWise requirements. Each release of GroupWise since 18.3 has tightened down these requirements. If you get any errors during any of the above processes, it's likely that you'll need to check the certificates that your system uses on the GroupWise agents and especially on the DVA.
  • Docker Issues: I've seen some problems where docker doesn't load the new gwweb version even though it acts like it should.  In this case, I typically find myself scrubbing everything out of docker and ensuring that there are no old or left over bits getting in the way. Over time, even when you follow the above process, the old docker images remain in your system. When this happens, you just have to clean up and remove the old images.  These are two things to look at:
    • Running Docker Containers
      • # docker ps
    • Installed Docker Images
      • # docker image list
  • Docker Cleanup & Start Over:  If you do find yourself needing to clean up Docker and start over, you need to delete/remove/purge out all of the GroupWise currently in the system. It's not always clear what you will need to remove, however there are many resources online available that discuss how to clean up Docker. I consider this link a starting point: Prune unused Docker objects | Docker Docs

Too Long Didn't Read Version (New Install)

This is the process from start to finish that is required to get the new GroupWise Web installed and configured. If everything works perfectly, this is all you need. If you're logged in as root, you do not need the sudo command.

Preparation

  • Create the folder /opt/novell/gw/certs
  • Copy your 3rd Party commercial certificates into /opt/novell/gw/certs
  • Rename your 3rd party certificate files to server.crt and server.key

Command Line Syntax

sudo zypper install docker 
sudo systemctl enable docker
sudo systemctl start docker
sudo docker run -it -v /opt/novell/gw:/config -e GWADMIN_SERVICE=admin@192.168.1.1:9710 -e GWSOAP_HOST_DEFAULT=192.168.1.2 mfgroupwise/web-config

sudo docker run -d --restart always -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webmail.redjuju.com -e DNS_SERVER=192.168.1.5 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs -v /opt/novell/gw/logs/:/var/log/nginx/ -e GWSOAP_SSL_VERIFY=off mfgroupwise/web:latest

Notes

Note the following items that must be customized to your specific environment:

  • You'll notice I don't actually "pull" the gwweb config or application from the Microfocus docker distribution site.  This is because it's not technically necessary.  If the code is not already pulled down and present on your system, it will go out and pull it automatically when you invoke the relevant "docker run" command.
  • "admin" refers to your GroupWise Administrator user credential. It is not necessarily "admin".
  • The IP Address referenced with the GWADMIN_SERVICE directive should be the IP address of your GroupWise Administration service.
  • 9710 Is the default GroupWise Admin port but could vary.
  • The GWSOAP_HOST_DEFAULT should reference the IP address of one of your GroupWise Post Office Agents. This may or may not be the same as your GroupWise Administration IP Address depending on your environment.
  • FQDN should be the full DNS name that users enter to connect to GroupWise Web from the Internet.
  • DNS_SERVER IP Address that docker will use for DNS Lookups. Typically a locally accessible internal DNS server that contains entries for your GroupWise environment.  (Docker does not utilize your local host DNS configuration located at /etc/resolv.conf, so it must be passed to docker through the command line run option.)
  • -e GWSOAP_SSL_VERIFY=off directive added for GroupWise 18.4+. The new certificate and security requirements may fail if your certs are not adequate. This allows you to bypass this check. It is on by default.

Working with Docker for GroupWise Web

I won't go into a ton of detail on Docker in general, but I will cover the basics for use in the GroupWise environment. Instead of installing an RPM module and configuring Apache and tomcat, Docker provides a prebuilt "image" that just runs. It works with a simple configuration file and minimal command-line options. Many applications are now being developed in this manner.

Helpful Docker commands:

Command Purpose
zypper install docker Installs the current Docker modules from the SUSE repositories
systemctl enable docker Enables the Docker service to launch on system startup
systemctl disable docker Prevents the Docker service from launching on system startup
systemctl start docker Starts the Docker service
systemctl stop docker Stops the Docker service
systemctl status docker Shows the running status of the Docker service
docker image list Lists the current Docker images
docker stop gwweb Stops the GroupWise Web application within Docker. Docker remains running.
docker rm gwweb Cleans up the GroupWise Web application from within Docker.
docker stop gwweb
docker rm gwweb
docker start gwweb
Generally used to stop, remove, and then start GroupWise Web.
Use this if you need to stop GroupWise Web, make changes or troubleshoot, then start it again. If you have made changes to the "docker run" command line, you will need to follow this sequence.
docker restart gwweb Restarts the GroupWise Web application container.
docker pull mfgroupwise/web Downloads the latest version of GroupWise Web from the Micro Focus Docker repository
docker pull mfgroupwise/web-config Downloads the web-config utility from the Micro Focus Docker repository

"Docker Run" command line switches for GroupWise Web

The command line required to launch GWWEB via Docker is quite complex. I have provided two tables. The first one explains the generic use of each relevant command line option.  The second table outlines each of the options that are relevant/required for running GWWEB.

General "Docker Run" Command Line Options

A good reference for better understanding Docker Commands can be found on the Docker documentation that can be found here: https://docs.docker.com/engine/reference/commandline/run/

Syntax

docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Command Purpose
-d  (or --detach) Run container in background and print container ID. This is a no brainer, it wouldn't make sense to not run it in the background. 
-rm   Automatically remove the container when it exits.
--restart Restart policy to apply to a container.

Restart Always: Restart the container regardless of the exit status. When you specify always, the Docker daemon will try to restart the container indefinitely. The container will also always start on daemon startup, regardless of the current state of the container. (This is my preferred option)

Examples:

--restart always  (preferred)
--restart on-failure
--restart unless-stopped
--restart no  (default)

--name Assign a name to the container.
Example: --name gwweb
-e   (or --env) Set environment variables
Example: -e DNS_SERVER=192.168.0.1
-v Bind mount a volume. When you use a bind mount, a file or directory on the host machine is mounted into a container. The file or directory is referenced by its absolute path on the host machine. The file or directory does not need to exist on the Docker host already. It is created on demand if it does not yet exist. Reference this link to understand this directive a little better: https://docs.docker.com/storage/bind-mounts/

In the case of GWWEB, many bind mounts are used that help define locations of log files, certificates, and custom images.

Example:  -v /opt/novell/gw/certs:/certs

-p Publish a container's port(s) to the host.
Example:  -p 443:443 
--add-host Add a custom host-to-IP mapping (host:ip).  Use this if you do not have accessible DNS for name resolution. This is similar to using a hosts file on a server.
Example: --add-host gwpo.redjuju.com:192.168.185.13

"Docker Run" command line switches for GroupWise Web

The directives below are each of the actual directives needed to launch GWWEB via the Docker Run command.

Command Purpose
-d Run the GWWEB application container in the background and displays the container ID on the screen when launched.
-rm
(Use either -rm or --restart always, you cannot use both)
This directive will run the GWWEB app but remove the container when docker is stopped. It's more tedious, and I do not prefer it in most cases. When docker restarts, you will have to manually run the Docker Run command to get GWWEB working again.
--restart always
(Use either -rm or --restart always, you cannot use both)
I prefer this directive because it will cause the GWWEB app to always run even after the docker service is restarted or if the server itself is restarted.
-v /opt/novell/gw:/etc/nginx/gw There are several configuration files in the /opt/novell/gw folder that define connectivity to your Post Offices and DVA's. This directive does a "bind mount" and puts the files into the GWWEB container, giving GWWEB the ability to read these configuration files needed to connect to GroupWise.
--name gwweb This names the docker container.  When starting, stopping, or removing the app, you reference this name.

docker stop gwweb (stops the gwweb container)
docker rm gwweb (deletes the gwweb container)

-e FQDN=webmail.yourserver.com Specifies the FQDN name of your server. The name in this directive should generally be resolvable from the public Internet (unless you only allow GWWEB from inside your organization. In that case you would still assign a FQDN that is resolvable from inside your organization).
-e DNS_SERVER=192.168.0.1 Docker does not have the ability to use your system defined DNS resolvers. Therefore you must define the DNS server that Docker will use when performing DNS lookups. Note that the DNS server you select needs to be able to resolve the FQDN of your GroupWise Post Offices and DVAs.   This doesn't matter as much if you use IP Addresses for them, however the best practice from a security and certificate standpoint is to use FQDN ever since GroupWise 18.4.0.
-p 443:443 This command tells the GWWEB container to publish/map port 443 in the container to the hosts secure https port 443.
-p 80:80 This command tells the GWWEB container to publish/map port 80 in the container to the hosts non secure http port 80.
-v /opt/novell/gw/certs:/certs This tells Docker to use certificates when loading the application. It loads them from the folder listed, which is /opt/novell/gw/certs. I always use this directive, even though the documentation makes it sound more optional.  It doesn't even seem practical to try to run GWWEB in a non-secure mode without certificates.
-e GWSOAP_SSL_VERIFY=off I have found that I generally need this statement with any GW 18.4.x version. Without it, Docker can fail to connect to your Post Office(s) due to various problems it detects with the certificates. I struggle with this even if the certificates are perfectly valid. I do not know what triggers a failure, so using this has become a standard directive in most instances of GWWEB that I deploy.
-v /opt/novell/gw/logs/:/var/log/nginx/ This tells Docker to log the GWWEB application in the /opt/novell/gw/logs/ folder.
-v /opt/gwweb/gwlogo.svg:/app/assets/img/app-logo.svg

 

This instructs Docker to load a custom SVG file in place of the default one. The default image is the Blue Square with the white envelope above and to the left of the login prompt. Reference the section about customizing the login screen for more details on this option.
-v /opt/gwweb/graphic.jpg:/app/assets/img/login_image.jpg
This instructs Docker to load a custom Graphic image in the background in place of the default one. The default image is the image of 5 people putting their fists together at a table. It is placed in roughly the right 55% of the screen. Reference the section about customizing the login screen for more details on this option.
mfgroupwise/web:latest This should ALWAYS be the last item on the line. It instructs docker what image you are actually running.  This "image" is the GWWEB program code that runs inside the Docker Container.  In most cases, "mfgroupwise/web:latest" is the correct version. This could vary for a couple reasons:

  1. If you have loaded in a pre-release version and want to run it.
  2. If you have loaded a version from downloadable media (rather than the docker repositories) and need to reference the build number.

If you're using something other than the latest, you would replace "latest" with the build number that you installed.

Feature Parity GroupWise WebAccess vs GroupWise Web

It is important to understand that full feature parity does not exist between the GroupWise Client, the older GroupWise WebAccess 18.2.1, and the newer GroupWise GWWEB. The initial GWWEB 18.3 was severely lacking, but it has improved dramatically with subsequent releases. Reference the "What's New" section of the GroupWise 18 release notes for details on improvements that have been made with each subsequent release. https://www.novell.com/documentation/groupwise18/gw18_readme/data/gw18_readme.html#whats_new

Suggestions for how you might handle concerns about missing features:

  • Install the latest available GroupWise WEB version. There are generally no reasons to run older versions, and it has improved dramatically. Continue to update it as new versions are released.
  • Continue running GroupWise WebAccess and do not upgrade until more features have been built into GroupWise Web. The older GroupWise WebAccess will continue to function, it is not mandatory to upgrade it to continue to use it. Note that you may get pushback from Micro Focus support if you open a support ticket, and it's unlikely any bug fixes will be provided.
  • Run the GroupWise 18.2.1 WebAccess simultaneously alongside GroupWise Web (using different servers)

My personal opinion of GWWEB:

I was not a fan of GWWEB when it was first released. It was very buggy, and severely lacking in features.  However, as the product has matured, it has come a long way. I find that GWWEB is now much easier to use than the old WebAccess, and in fact, I don't even like to use the old version anymore. It's too clunky and hard to navigate.  I generally recommend that customers start using GWWEB rather than try to continue with the old WebAccess version. While it is drastically different and takes some getting used to, the streamlined simplistic design and improved functionality is a tremendous improvement.

Prerequisites and System Requirements

It's easy to skim over the system requirements and assume everything is set correctly in your existing GroupWise environment. If you do this with GroupWise Web, you will be in for some challenges. Please review the system requirements and confirm that you meet each requirement.

In summary, the requirements are as follows:

  • Docker 19.03.5 or later on any Docker supported platform.

  • GroupWise 18.3 or later system.

  • GroupWise POA with SOAP enabled. SOAP must have SSL enabled.

  • GroupWise DVA with SSL enabled. ** This is likely going to be where you have issues **

  • (Optional) TLS certificates for GroupWise Web.

I have provided detailed notes on how to ensure that your system is configured to meet these requirements below.

Docker 19.03.5 or later on any Docker supported platform.

To identify the Docker version, use this command at the Linux command line:

rpm -qa|grep docker

This should produce a list of all RPM's that contain the text "docker", and one of them will show the version number. In the results below from my fully patched SLES15 SP2 system, the version of Docker is 19.03.11.

mhcfs02:/ # rpm -qa|grep docker
docker-runc-1.0.0rc10+gitr3981_dc9208a3303f-6.38.2.x86_64
docker-bash-completion-19.03.11_ce-6.34.2.noarch
docker-19.03.11_ce-6.34.2.x86_64
docker-libnetwork-0.7.0.1+gitr2902_153d0769a118-4.21.2.x86_64

NOTE: If no results are returned, Docker is not installed at all. This is normal if it's a new install. The instructions for installing and enabling Docker are further below in this same document.

GroupWise 18.3 or later system.

To ensure your system is running GroupWise 18.3 or later, use this command at the Linux command line on all servers that are running GroupWise Agents (Post Offices and/or Domains):

rpm -qa|grep groupwise-server

This should produce the rpm module that is installed for the GroupWise software. The resulting output should show you the GroupWise version you are running as shown below:

mhcfs02:/ # rpm -qa|grep groupwise-server
groupwise-server-18.3.0-137352.x86_64

GroupWise POA with SOAP enabled. SOAP must have SSL enabled.

It's very likely you meet this requirement already. But you should confirm the configuration anyway. Points to consider:

  • SOAP needs to be enabled on ALL Post Office Agents.
  • Enabling SSL on the SOAP protocol on your Post Offices is all or nothing. Meaning it's either enabled for ALL applications that use it or it's not enabled. You cannot mix and match between enabled and not enabled. For example, you cannot have SSL enabled on SOAP for use by GroupWise Web if GroupWise Mobility is set to use SOAP via non-SSL.
  • To my previous point, If you do not use SSL for soap, you MUST configure and enable it in order for GroupWise Web to function. You must ALSO consider all other applications that may use SOAP. For any application in your organization that connects to GroupWise via SOAP, you MUST enable SSL on the SOAP protocol. Some applications that use SOAP:  Legacy GroupWise WebAccess, GroupWise Mobility Service, and the new GroupWise Web application.

Generally speaking, you can confirm that SOAP is configured to use SSL by looking at the running configuration on each Post Office agent. You do this in the POA Web Console that can be launched from the GroupWise Administration page.

GroupWise POA Configuration Settings
Internet Protocol Agent Settings:
IMAP Agent: Enabled
IMAP Port for Incoming IMAP requests: 143 (Default)
IMAP over SSL: Enabled
IMAP SSL Agent: Enabled
IMAP SSL Port for Incoming IMAP requests: 993 (Default)
IMAP Read Limit: 4000
IMAP Read New: Enabled
SOAP Agent:  Enabled 
SOAP Port for Incoming SOAP requests:  7191 
SOAP Proxy Port: 7191
SOAP over SSL:  Enabled 
SOAP Redirection Table:  Show

If you find that SSL is not enabled on the SOAP protocol, you will need to install a certificate/key pair on each Post Office agent and enable SSL for SOAP on the agent configuration. SSL configuration is out of the scope of this document.

GroupWise DVA with SSL enabled

When SSL is not enabled on the DVA, GroupWise Web will function but you won't be able to view PDF or other docs from within the GroupWise Web application.

Things to understand about the GroupWise DVA:

  • The GroupWise DVA is what allows you to view PDF, DOC, and Image files from within GroupWise.
  • Each Post Office generally has its own DVA. (This is not absolutely always true)
  • The GroupWise DVA is not enabled for SSL by default.
  • All DVA's in your entire GroupWise system need to have SSL enabled.
  • The GroupWise Administration Console makes you think you're enabling SSL on the DVA but it's not actually doing what you think. More on this below in step 1 of the DVA required configuration.

If this requirement is not met, you'll experience the two things below.

Refer to the Troubleshooting/Log Files section below for information on how to configure and view the log files.

How to configure the GroupWise DVA with SSL Enabled

This four-step process enables the GroupWise DVA with SSL using a self-signed certificate:

1) Tell the POA's to connect to the DVA's via SSL

On the DVA configuration in the GroupWise Administration console, check the box that says "Enable SSL".   This tells the Post Office to use SSL when connecting to the DVA.  It does not actually configure the DVA with SSL.

Note: It's very confusing, and I don't like the behavior.  The dialog makes you believe that you are enabling SSL on the DVA, when in fact you are not. You're only telling the Post Office to use SSL when connecting to the DVA. The checkbox does nothing to actually configure SSL on the DVA. You will need to follow the remaining steps to actually enable SSL on the DVA.

2) Creating the Certificate

Creating the certificates can be accomplished entirely from a SLES 15 Linux command line. The filenames I use are dva.crt, dva.key, and dva.crt.  The dva.nopass.key in the first step named "dva.nopass.key" for clarity that it does not have a password at that step.

I like to ensure that I'm in a folder that I have created just for certificates so that I do not get them confused with any other files or certificates.

Create CSR File and Private Key
This command will create the necessary Certificate Signing Request (CSR) and also generate the necessary Private Key file. Note that in this step, the private key file does not contain a password.

openssl req -newkey rsa:2048 -nodes -keyout dva.nopass.key -out dva.csr

Assign a password to the private key

This command will assign a password to the key file you just created. You will be prompted to enter the password.

openssl rsa -in dva.nopass.key -des3 -out dva.des3.key

Sign the CSR and creates the certificate file

This command will sign the certificate and write it to file. When completed, you should find a "dva.crt" file in the same folder.

openssl x509 -in dva.csr -out dva.crt -req -signkey dva.des3.key -days 3650

3) Configure the DVA Startup File

The DVA Startup file now must be configured to load the certificate and key file. In many cases, the DVA startup file is called "gwdva.dva". However, it is also possible that it is called named similar to the Post Office it is associated with. I have found that it could vary depending on how it was created.  It could be "poa_name.dva".

On Linux: The DVA Startup file should be located in the /opt/novell/groupwise/agents/share folder.

On Windows:  The DVA startup file should be located in c:/Program Files/Novell/GroupWise Server/Agents.

Use your favorite text editor to modify the gwdva.dva file. Locate the section titled "Enable SSL for Https" and add the following four (4) lines to it:

−-httpssl
−-sslCert /opt/iso/certificates/dva.crt
−-sslKey /opt/iso/certificates/dva.des3.key
−-sslKeyPassword $q~Nk:_@@cSxk{3ptCALhlHfc

  • Ensure that you put your own Key File password, not the one shown above.
  • The Password is in clear text. I am unaware of a way to change this.
  • Ensure that the path/filenames specify the correct location of the certificate and key file.

4) Test and Confirm SSL Status on the DVA

Once the configuration changes have been made, log in to the DVA Web interface and confirm that the DVA shows that SSL is enabled and active. The default port is 8301. Assuming you have not changed the default port, you access the Web Agent at the following URL:

https://xx.xx.xx.xx:8301 (Enter the IP address of your Post Office Server here)

If the URL connects securely (and/or asks you to confirm the validity of the certificate), this alone would suggest it is working. However, you can also confirm the status of SSL in the two different places as shown below:


(Optional) TLS certificates for GroupWise Web.

This requirement is extremely confusing because it says that TLS certificates for GroupWise Web are optional. Technically speaking, for the end user interface (From the user's mail in a web browser), this is technically correct. However, there are other areas where TLS is absolutely required.

A best practice for security and confidentiality is to use end to end encryption on your GroupWise system. Not using HTTPS for your Web Mail defeats much of the security that the developers of GroupWise have always taken very seriously.

Be aware that this item does not need to be done beforehand. This requirement can be satisfied after everything else is completed. I have provided detailed information on how to accomplish this with a 3rd party commercial certificate further in this document.

Firewall Requirements

Not much is mentioned in the documentation about the Firewall and required settings in the GroupWise Web portion of the documentation.  You will have problems if you don't open the right ports.

It is a best practice to ALWAYS ensure the firewall on the server is active and blocking all unnecessary ports. Disabling the firewall can be useful for testing but it should be enabled before you put the system into production.

GroupWise Web Application access to GroupWise Services

The GroupWise Web Docker app needs to be able to connect to various GroupWise Components:

  • The GroupWise DVA, generally port 8301
  • The GroupWise Post Office via SOAP, generally port 7191
  • The GroupWise Administration Service, generally port 9710.

Connecting to GroupWise Web from a Browser or Device

  • In order to access GroupWise web, port 443 (HTTPS) needs to be allowed to the GroupWise Web server.

Helpful Firewall Commands

It's difficult to tell you exactly what you need to do with your firewall. Below are some good reference commands that should help you figure it out.

Enable various ports and services on the firewall.

firewall-cmd --permanent --zone=public --add-service=ssh
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --permanent --zone=public --add-port=9710/tcp   (GroupWise Administration Port)
firewall-cmd --permanent --zone=public --add-port=8301/tcp   (Post Office DVA Port)
firewall-cmd --permanent --zone=public --add-port=7191/tcp   (Post Office Soap Port)

Put Firewall Changes Into Effect Immediately

Run this command after you've added/deleted a service or port to your firewall list.

firewall-cmd --reload

Start and Stop Firewall Service

systemctl stop firewalld
systemctl start firewalld

Disable and Enable Firewall Service

systemctl disable firewalld
systemctl enable firewalld

Show open services and ports on the firewall

firewall-cmd --list-services
firewall-cmd --list-ports

Installing and Configuring Docker and GroupWise Web

The documentation presents two options for installing the GroupWise Web components without making it abundantly clear that there in fact two entirely different options. Furthermore, the terminology can be confusing and you may not understand exactly what is happening.

The two options are listed below:

  • Using the Docker Image (Preferred): This downloads the necessary files from the Micro Focus docker repository on the Internet.
  • Using the Micro Focus Download: This uses a downloadable tar.gz file to install docker. The file is obtained as a separate file download from the customer care portal. It is not necessary to download or use this method unless you do not have Internet access on your GroupWise Web server (This would be an extremely rare scenario such as a dark network, or an installation where GroupWise Web is only available to internal systems).

Installation Using the Docker Image (Preferred)

Using the Docker Image is my preferred option, and this is the only method I discuss in this document. This process is an easy three (3) step process that I will outline in detail below. This will follow these steps:

  1. Install, enable, and start the Docker service
  2. Download and Run the "web-config" utility
  3. Download and Run the "GroupWise Web" image

STEP 1: Install, Enable, and Start the Docker Service

In a nutshell, here are the quick and easy steps to get the docker service running:

sudo zypper install docker
sudo systemctl enable docker
sudo systemctl start docker

STEP 1 PART A: Installing Docker

Below is what you should see when you run the “zypper install docker” command. Once it has completed successfully, repeat the “rpm -qa|grep docker” command to confirm that results are returned and the minimum version required is installed.

What if Docker is Not Installed / Won't Install

It's possible that Docker will not install because the server does not have the correct container modules configured from the SUSE repository. Here is output from a failed install attempt.

linux-nd2d:~ # sudo zypper install docker
Refreshing service 'Basesystem_Module_15_SP2_x86_64'.
Refreshing service 'Desktop_Applications_Module_15_SP2_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP2_x86_64'.
Refreshing service 'Server_Applications_Module_15_SP2_x86_64'.
Loading repository data...
Reading installed packages...
'docker' not found in package names. Trying capabilities.
No provider of 'docker' found.
Resolving package dependencies...

Nothing to do.
linux-nd2d:~ #

If this happens, you need to enable the "Containers Module" in Yast. To correct this issue, do the following:

  • Run the "yast" or "yast2" (Graphical) utility --> Software --> Add System Extensions or Modules.
  • Select the "Containers Module 15 x86_64" option --> Next.
  • On the Installation Summary screen, click Accept --> Finish.
  • Once you have completed this task, retry the Docker installation from the above instructions.

The images below are from the graphical YAST utility and show you what you need to choose.

STEP 1 PART B: Enabling and Starting Docker

STEP 2: Download & Run the web-config Utility

The web-config utility is a tool that queries your GroupWise system and creates a configuration file called web.conf at /opt/novell/gw. GroupWise Web will use this file to connect to GroupWise.

When you run the command below, Docker will retrieve the necessary files from the Internet repository. It will then ask you for a password.  While it doesn't specify what password it's asking for, it wants the GroupWise Administrator password which you can see is "admin" in the syntax.

docker run -it -v /opt/novell/gw:/config -e GWADMIN_SERVICE=admin@192.168.2.5:9710 -e GWSOAP_HOST_DEFAULT=192.168.2.5 mfgroupwise/web-config

Notes

Note the following items that must be customized to your specific environment:

  • "admin" refers to your GroupWise Administrator user credential. Adjust accordingly.
  • The IP Address referenced with the GWADMIN_SERVICE directive should be the IP address of your GroupWise Administration service.
  • 9710 is the default port for the GroupWise Administration connection. Modify as needed for your environment.
  • The GWSOAP_HOST_DEFAULT should reference the IP address of  one of your GroupWise Post Office Agents. This may or may not be the same as your GroupWise Administration IP Address depending on your environment.

STEP 3: Download & Run GroupWise Web

This command goes out to the Docker repository on the Internet and downloads the main GroupWise Web application:

docker pull mfgroupwise/web

Then launch the GroupWise Web application using this command line:

docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webacc.acme.com -e DNS_SERVER=192.168.1.5 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs -v /opt/novell/gw/logs/:/var/log/nginx/ mfgroupwise/web:latest

GroupWise Web SSL Considerations

If you recall the former WebAccess configuration, the Apache web service uses a configuration file with a comprehensive set of directives to fully control the SSL certificates. In short, Docker does not use a configuration file for SSL configuration. You must use the command line to load SSL Certificates. There are several items to consider when working with 3rd party SSL certificates and the new GroupWise Web.

Command Line SSL Directives

To use a commercial 3rd party certificate with GroupWise Web, you are instructed to add a certificate path to the command line of the docker run statement. You'll notice that there are no certificate or key files specified, only the path.

From the documentation:

To run with commercially signed certificates:

docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webacc.acme.com -e DNS_SERVER=192.168.1.5 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs mfgroupwise/web:latest

NOTE:/opt/novell/gw/certs should contain the server.key and server.crt files.

Self Signed SSL Certificates vs. 3rd Party Commercial Certificates

What the documentation fails to mention is that the command line above only creates default self-signed certificates at the path specified. The Docker / GroupWise Web installation process does not do anything with your previous 3rd party SSL certificate. It does not create them. It does not manage them. It does not import them from WebAccess. Docker will only use your 3rd party commercial certificates if they already exist in the "certs" folder and match the file names "server.crt" and "server.key".

3rd Party SSL Certificate and Key Files

Complete these tasks below to configure GroupWise Web with a 3rd party certificate:

  • Ensure there is a folder called /opt/novell/gw/certs
  • Copy your 3rd Party commercial certificates into /opt/novell/gw/certs folder
  • Rename your 3rd party certificate file to server.crt
  • Rename your 3rd party key file to server.key. Ensure the key file does not require a password.
  • Start or restart the docker services to activate the new certificates.

Here are some key points to understand:

Incomplete Certificate Chain

Your certificate chain will most likely be incomplete because there is no directive in the command line to load an Intermediate or Chain certificate. To overcome this obstacle, you concatenate the certificate file and the intermediate certificate file into the same server.crt certificate. The following command will accomplish this task:

cat My_CA_Bundle.ca-bundle >> /opt/novell/gw/certs/server.crt

Note: Substitute the actual intermediate or chain certificate from your commercial certificate provider in place of the bundle file listed in the syntax.

 Industry Standards and Compliance

It's important to understand that unlike Apache, you do not have the ability to fine tune the SSL Ciphers, TLS Protocols, etc. From the GroupWise documentation:

TLS for GroupWise Web defaults to Intermediate configuration. Please visit https://wiki.mozilla.org/Security/Server_Side_TLS for additional details. If you configure GroupWise Web with your own TLS certificates, the must be compatible with the Intermediate configuration as well as the GroupWise requirements.

While this may seem limiting at first, you'll be pleased to find that out of the box you should get an "A" grade. Doing this with Apache with the previous versions was much more cumbersome. You can see that only TLS 1.2 and TLS 1.3 are running with some of the strongest ciphers.

Access from Older Devices

Since GroupWise Web is only enabled with TLS v1.2 and TLS v1.3, it's plausible to believe that some older devices may not be able to connect. For example, older devices that only support TLS v1.1 will fail to connect. There does not appear to be a way to enable older TLS versions, so this should be considered if it's applicable to your environment.

Troubleshooting / Miscellaneous Issues

This section shows you how to enable logging within the Docker GroupWise Web application. It also covers a short list of various issues or error conditions you may encounter during your installation and configuration of the GroupWise Web docker application.

Enabling Logging on the GroupWise Web Docker Application

Add the following command to your "docker run....." command to enable logging.

-v /opt/novell/gw/logs/:/var/log/nginx/

Here is an example of the full "docker run" command that includes logging:

docker run -d --restart always -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webmail.redjuju.com -e DNS_SERVER=172.16.4.78 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs -v /opt/novell/gw/logs/:/var/log/nginx/ mfgroupwise/web:latest

Notes about Logging

Here are some things you need to know about how logging works:

  • The directive above will create log files at /opt/novell/gw/logs.
  • The "error.log" file is where you'll look to troubleshoot most issues with GroupWise Web.
  • There are several "-v" directives that reference specific paths. You're not replacing any of the existing -v directives, you're adding a new one.
  • Don't just add the directive to the end of the command line.  I found that GroupWise Web won't load correctly if you do this. Instead, put it after the previous "-v" directive and before the "mfgroupwise/web:latest" directive.

Docker Container Logging

You can learn a lot about what Docker is doing with GWWEB by logging the docker process itself.

At the command line, run the following:

docker logs --timestamps --details --follow gwweb

Note that this command follows the log much like the standard "tail -f" command does.  However, it will stop logging if the GWWEB application is stopped or not running.

If I am having problems with GWWEB, I will start the docker application (via docker run ....) and then start the docker logs process as shown above. While I may or may not see any errors, I can at least see some activity and feel better that something is happening.

GWWEB 18.4 introduced some additional startup scripts that query each post office and DVA in your system. It requests and confirms that the certificates are valid, and then it caches them for use during runtime.  The more post offices/DVA's you have, the longer this process will take.  You should see that these scripts are running when you utilize this troubleshooting method.

Here is a sample of what you should see with the GWWEB Docker app:

server:/opt/novell/gw/certs # docker logs --timestamps --details --follow gwweb
2022-07-14T04:07:52.876153832Z startup.sh: Running startup scripts...
2022-07-14T04:07:52.878257719Z startup.sh: Running certs-ca-update.sh...
2022-07-14T04:07:52.890133698Z certs-ca-update.sh: /etc/nginx/gw/poas.conf exists.
2022-07-14T04:07:52.890530996Z certs-ca-update.sh: Requesting certificate of mhcfs02.redjuju.com:7191 server
2022-07-14T04:08:02.906316005Z certs-ca-update.sh: Requesting certificate of mhcfs02.redjuju.com:7191 server
2022-07-14T04:08:12.914415327Z certs-ca-update.sh: /etc/nginx/gw/dvas.conf exists.
2022-07-14T04:08:12.914873965Z certs-ca-update.sh: Requesting certificate of mhcfs02.redjuju.com:8301 server
2022-07-14T04:08:22.922555790Z certs-ca-update.sh: Copying /etc/nginx/gw/ca.crt file
2022-07-14T04:08:22.930236166Z certs-ca-update.sh: Upstream servers certificates are available. Updating the CA...
2022-07-14T04:08:22.936338032Z certs-ca-update.sh: Updating certificates in /etc/ssl/certs...
2022-07-14T04:08:24.205586096Z certs-ca-update.sh: 1 added, 0 removed; done.
2022-07-14T04:08:24.206434176Z certs-ca-update.sh: Running hooks in /etc/ca-certificates/update.d...
2022-07-14T04:08:24.208333264Z certs-ca-update.sh: done.
2022-07-14T04:08:24.213443073Z startup.sh: Running certs.sh...
2022-07-14T04:08:24.220437766Z startup.sh: Running ep.sh...
2022-07-14T04:08:24.240699496Z startup.sh: Startup scripts completed

HTTP response code: 401 for URL

During the Docker "web-Config" phase, if you receive an error such as this, it means a connection could not be established to the GroupWise Administration service.

GWADMIN_SERVICE=admin@192.168.1.1:9710 -e GWSOAP_HOST_DEFAULT=192.168.1.2 mfgroupwise/web-config
Please enter the password:

java.io.IOException: Server returned HTTP response code: 401 for URL: https://192.168.1.242:9710/gwadmin-service/list/POA
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.microfocus.gw.AdminService.sendRequest(AdminService.java:173)
at com.microfocus.gw.poa.POAMain.getPOAList(POAMain.java:48)
at com.microfocus.gw.poa.POAMain.process(POAMain.java:78)
at com.microfocus.gw.ConfigMain.main(ConfigMain.java:59)

Confirm the following:

  • You have the correct IP address and port number for the GroupWise Administration Service.
  • You used the correct username and password for the GroupWise Administration. Note the userID is passed on the command line, while you are then prompted for the password.
  • Ensure your GroupWise Administration service is functional.
  • Ensure the Firewall on the GroupWise Administration server allows a connection to port 9710 (Default) from the GroupWise Web server.
  • Ensure the GroupWise Web server has a route to the Administration service, in the case where GroupWise Web is running on a separate network segment such as a DMZ.

WARNING: IPv4 fowarding is disabled. Networking will not work.

You may receive this error with your "docker run" command.

mhcfs01:/opt/novell/gw # docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=mailserver.mydomain.com -e DNS_SERVER=192.168.72.15 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs -e GWSOAP_SSL_VERIFY=off -v /opt/novell/gw/logs/:/var/log/nginx/ mfgroupwise/web:latest
WARNING: IPv4 forwarding is disabled. Networking will not work.
f3d5cce18324aaba01e30c5c4c68d2caa5ce0bfad67c43858cf0fcce122502d9

When this happens you will find that your docker container will abort shortly after loading.

The solution is a simple sysctl.conf tweak.   It involves two easy steps:

  • Edit the file /etc/sysctl.conf and add the following line to it:

net.ipv4.ip_forward=1

  • Activate the setting with the following command line statement:

sysctl -p /etc/sysctl.conf -w

You should receive the following confirmation that the setting is now set to 1 (instead of 0):

net.ipv4.ip_forward = 1

Try to run the "docker run ...." command and it should not produce the IPv4 warning, and you should now be able to confirm that GWWEB is running.

Port Conflict with Apache/Tomcat

If you're upgrading your system from a previous GroupWise version, you may have an issue starting Docker/GroupWise Web due to the fact that Apache/Tomcat services are still installed and running. The GroupWise Web install process does not stop, disable, or uninstall any previous GroupWise WebAccess service. If your old WebAccess is still running, you will experience port conflicts between the old and new services.

b600bafbbb166b1a41a5c22501678505ba6f61b9d094b29fe9306a183f6f81da
docker: Error response from daemon: driver failed programming external connectivity on endpoint gwweb (3716a5bce08a030b9cbbf4d4b41f703f2cb2adec113fe3e35d91cd5567f3ac36): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use.

*Note* It doesn't seem to be an issue to have the WebAccess application and apache/tomcat services installed, they just need to be disabled/stopped to avoid the conflicts. I recommend ONLY disabling these services until you are confident in your Docker / GroupWise Web installation. You can do a cleanup later.

Stopping GroupWise WebAccess (Linux)

Stop and disable the GroupWise-Tomcat" service as well as the "Apache2" service.

  • systemctl stop apache2
  • systemctl disable apache2
  • systemctl stop grpwise-tomcat
  • systemctl disable grpwise-tomcat

Stopping GroupWise WebAccess (Windows)

To stop the GroupWise WebAccess services on Windows, go to your Services page in the Windows Control panel.

  • Stop and disable the "GroupWise-Tomcat" services.

GroupWise Web Won't Load due to IP Tables Issue

You may have an issue starting Docker/GroupWise Web due to this reported error with IP Tables.

linux-nd2d:/opt/novell/gw/certs # sudo docker run -d --rm -v /opt/novell/gw:/etc/nginx/gw --name gwweb -e FQDN=webmail.redjuju.com -e DNS_SERVER=192.168.0.147 -p 80:80 -p 443:443 -v /opt/novell/gw/certs:/certs mfgroupwise/web:latest

dab49d1c177d2f9d14f5858603786b1380bbc93e82393da07593d8d3d2e4f964
docker: Error response from daemon: driver failed programming external connectivity on endpoint gwweb (fa30308610eca777536c9551ff6bd7c79f80e2f7d0c047d7b9c1e1eb79b39cd9): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 443 -j DNAT --to-destination 172.17.0.2:443 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).

This is an error that you may get if your firewall service is stopped. When I have received this error, I resolve it by ensuring that the firewall is running before I try to start the GroupWise Web application in Docker.

systemctl start firewalld

There is a SUSE TID here that discusses iptables and conflicts with the firewall. https://www.suse.com/support/kb/doc/?id=000019095

Path Issue for SSL Certificates on the GWDVA

You may have trouble getting the GroupWise DVA to activate HTTPS due to what appears to be a path issue with the SSL certificate file. The gwdva log file (/var/log/novell/groupwise/gwdva) reported this error:

01-24-21 11:47:35 Maximum Conversion Time Limit: 360 (Default)
01-24-21 11:47:35
01-24-21 11:47:35 File Conversion Settings:
01-24-21 11:47:35 Default Language: en
01-24-21 11:47:35 Temporary File Path: /var/opt/novell/groupwise/gwdva/temp
01-24-21 11:47:35 01-24-21 11:47:38 Unable to locate SSL Certificate [opt/iso/cert/dva.crt]
01-24-21 11:47:38 Initializing worker processes 01-24-21 11:47:38

What I found in my situation was that it had nothing to do with the path or the certificate. The problem was that my SSL Key File password had special characters in it that seemed to throw off how the configuration file was parsed and loaded. 

The solution to this issue is to make sure that you only use common special characters and not characters that are typically reserved. I believe all the characters on top of the numbers (!@#$%^&*) are fine but you may have to test it.

Quickfinder Process Stops Working on Post Office Agent

This is not a problem with GroupWise Web, but a possible side effect of enabling SSL on the DVA as required by GroupWise Web. I have seen cases where the post office doesn't seem to be aware that the DVA is running and using SSL, or it's trying to connect via HTTP when it needs to connect to it via HTTPS.  Symptoms could be as follows on the Post Office Agent:

Emails from the Post Office Agent

01/24/2021, 12:00 AM
MADDM.KAPO QuickFinder Indexing will not start until the configured DVA is active

Post Office Agent Log Files

20:00:00 10FA QuickFinder Indexing will not start until the configured DVA is active
20:00:00 10FA QuickFinder indexing thread exits prematurely

GWDVA Status on the POA Web Console

GroupWise POA Configuration Settings
General Settings:
Post Office Directory: /groupwise/mybigpo
Post Office Access Mode: Client/Server Only
Post Office Configuration Instance: poa
Post Office Language: en
Database Version: 1830
Internet Domain Name: sample.com
Read Configuration from Database: Yes
Error Mail to Administrator: Yes
IPV6 Protocol: Disabled
IP Address Redirection Table:  Show
QuickFinder Indexing:  Enabled
Document Viewer Agent:  dva (192.168.2.147:8301 ) (Offline) 
QuickFinder Document Converter Agent: Not Started
QuickFinder Indexing Base Offset (hours from Midnight): 20 Hours 0 Mins (Default)
QuickFinder Indexing Interval: 2 Hours 0 Mins

Solution

Most likely, restarting the POA will correct this issue.  I have tried to track it down and duplicate it, but I'm not able to catch the trigger, nor am I able to duplicate it once I've fixed it. The goal is for the POA to show the GWDVA as online. As long as it shows online, the Quickfinder will run on schedule.

Cleanup / Uninstall of old GroupWise WebAccess

The GroupWise Web installation does not uninstall the old GroupWise WebAccess. In fact, you'll notice that when you install GroupWise 18.3, there are no options at all related to GroupWise WebAccess on the installation menu.

You can see here on this Linux server that I have the GroupWise agents upgraded to version 18.3, but the WebAccess version 18.2.1 remains. Also note that there is no RPM install for the new GroupWise Web, so it will not show up in the list of installed RPM's.

GroupWise WebAccess is completely absent from the GroupWise 18.3 installation menu. The new GroupWise Web is also not part of this installation procedure.

GroupWise 18.3 Installation Dialog on Linux

GroupWise 18.3 Installation Dialog on Windows

Uninstalling GroupWise WebAccess (Linux)

Uninstall the Linux agents using the rpm command.

  • First, you must find the version of WebAccess that is running.
rpm -qa|grep groupwise
result:  groupwise-webaccess-webapp-18.2.1-135777.noarch
  • Use the results to determine the command line for uninstall. The rpm build in the previous command shows you the name for the uninstall.
rpm --erase groupwise-webaccess-webapp-18.2.1-135777.noarch

Uninstalling GroupWise WebAccess (Windows)

In order to fully uninstall GroupWise WebAccess from Windows, you must do the following:

  • Uninstall GroupWise WebAccess from the Programs and Features list.
  • Uninstall “Apache Tomcat 9.0 Tomcat 9” from the Programs and Features list.
  • The uninstall process should also delete the "Apache Tomcat 9.0 Tomcat9" service that is running in the Services list in the control panel. You should check and confirm that it is gone. If it does not clean it up automatically, you can issue the command "sc delete Tomcat9" at the command prompt.
  • You may want to remove the folder c:/Novell/Groupwise/Tomcat and c:/Novell/WebAccess (Use caution).

View of Add/Remove Programs when GroupWise WebAccess 18.2.1 is installed on Windows.

The Apache Tomcat service that is typically running when GroupWise WebAccess 18.2.1 is installed on Windows.