The hostname of the WAPT Server MUST be properly configured.
To check, use the command echo $(hostname) which MUST return the DNS address that will be used by WAPT Agents on client computers.
The DNS resolver MUST be correctly configured.
The WAPT Server MUST be able to contact a Domain Controller in write mode for Kerberos authentication mode.
The post-configuration script rewrites the nginx configuration.
A backup file is created when running the postconf in the same directory.
This post-configuration script MUST be run as root.
Run the script.
/opt/wapt/waptserver/scripts/postconf.sh
Click on Yes to run the postconf script.
Doyouwanttolaunchpostconfigurationtool?
<yes><no>
Choose a password (if not defined) for the SuperAdmin account of the WAPT Server (minimum length is 10 characters).
Upgrade WAPT 2.X to 2.6, verify the verify_cert option.
Note
If you are upgrading from WAPT 2.X to 2.5, verify the current configuration of the WAPT Agents and more specifically the verify_cert option.
If in your current configuration verify_cert is set to True or a set to a file path (certificate pinning), then choose option #1 below.
If in your current configuration verify_cert is set to False, then choose option #2 below.
If you want to use WAPT for OS Deployment, select Yes.
If you have chosen Yes to activate os deployment, the post-configuration will ask whether to use a secure authentication to deploy OS images.
It will ask a user / password when you will deploy OS images using WADS.
If you have chosen No, Nginx will not enable WADS API endpoints for WAPT Agents.
Doyouwanttoactivateosdeployment?
<Yes><No>
Secure authentication for WADS requires the user to be authenticated on the machine where the OS deployment will take place.
Added in version 2.5: The access to the WAPT web interface is now password protected.
Finally, the postconf show somes informations about the WAPT Server SSL certificate and the URL to download WaptSetup and install on the WAPT Administrator’s computer.
Specifies a configuration file path (default: /opt/wapt/conf/waptserver.ini).
-s or --force-https
Configures Nginx so that port 80 is permanently redirected to 443
-q or --quiet
Runs the post-configuration in quiet mode.
-n or --nginx
Runs nginx configuration if the post-configuration is set in quiet mode.
--dhparam-key-size=NUMBER
Defines the size for dhparam key (default: 2048).
-p or --admin-password
Defines the admininistrator password for the WAPT Server if the post-configuration is set in quiet mode.
--server-names=SERVER_NAMES
Defines the WAPT Server name and ip for certificate CN and SubjectAltNames.
The separator is a comma (default: fqdn and IP address).
--cspn-toe
Defines settings for CSPN TOE mode (default: False). This enable more strict security default values, and disable all the features that are not included in the TOE of the CSPN certification