Tutorial: Harden the Web Server Cipher Suite String
Overview
HTTPS-protected web services must define which encryption ciphers they support. This is a balance of security versus compatibility. The strongest security makes the web interface inaccessible on older platforms. We try to choose a default Access Server setting that supports current operating systems and browsers. You can adjust the cipher suite string for your needs.
Connect to your console and get root privileges.
Run the following sacli command:
cd /usr/local/openvpn_as/scripts/
./sacli ConfigQuery | grep -i "cs.openssl_ciphersuites"
The default above applies if nothing shows OR the output displays the cipher suite string you've set.
Run the following sacli commands to set a custom string (using your preferred cipher suite string values in place of ours):
In these versions, inter-node communication had a separate configuration key for its cipher suite string, ssl_api.openssl_ciphersuites. By default, it inherited the settings from the main web services.
Verify the ciphers your web server supports using the nmap tool:
Ensure the user you specify has administrative rights in Access Server.
Without including a valid admin account, you'll see an error such as: ERROR: Cannot make API call without auth token...
If you've set the cluster cipher suite string separately using the commands above, you can delete the configuration key to restore it to the default settings.
Run the following sacli commands to delete the configuration key: