- CheckMates
- :
- Products
- :
- Quantum
- :
- Management
- :
- Re: Change GAIA SSL-Port R80.20
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change GAIA SSL-Port R80.20
Hi Guys,
I'm preparing for CCSA R80 and when I try to change the SSL-Port from Gaia through clish, the following output is given:
cp-mgmt> set web ssl-port 4434
WARNING This command is for initial use. SSL port should be set through SmartCon
sole. Changing the port may cause inconsistency with the settings on the SmartCo
nsole.
Are you sure you want to continue?(Y/N)[N]
n
I cannot find any option to set the ssl-port for a GAIA system from SmartConsole.
The SecurityManagement Guide for R80.20 got no hits, when searching for "ssl-port"
Does anyone know where to find that option?
Best Regard
Johannes
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Johannes, the command set web ssl-port <port number> is correct and, remember, after execute this command you need to save this configuration with "save config". To verify you could run " grep 'httpd:ssl_port' /config/db/initial "
sk91380
(8) Changing the Gaia Portal port in Clish results in warning
"WARNING This command is for initial use. SSL port should be set through SmartDashboard. Changing the port may cause inconsistency with the settings on the SmartDashboard. Are you sure you want to continue?(Y/N)
[N]
"It is recommended to change the port using the Platform Portal section of the object in SmartDashboard.
Add the port to the end of the Main URL and push policy. "show web ssl-port" should now display the port in the Main URL
For Security Gateway:
In SmartConsole, perform:- Open the Security Gateway / Cluster object and go to the "Platform Portal" pane.
- In the "Main URL" field, set the desired port (e.g., port 4434):
https://IP_ADDRESS:PORT - Click on OK to apply the changes.
- Install the security policy on this Security Gateway / Cluster object.
For Security Management Server:
- Connect to command line on Security Management Server and log in to Clish.
- Set the desired port (e.g., port 4434):
HostName> set web ssl-port <Port_Number> - Save the changes: HostName> save config
- Verify that the configuration was saved:
[Expert@HostName]# grep 'httpd:ssl_port' /config/db/initial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here we go: Platform portal under GW object.
Now, the main question is, why do you want to change SSL portal port from the default one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yeah, that looks good.
But it seems, that you cannot change the default port for a mgmt server.
I guess you still need to change the admin-port from 443 to 4434 like in R77 when configuring CaptivePortal or sth. which also uses port 443.
But strange - when I add a new Gateway, the menu looks like the one in the picture, no Platform Portal branch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes and no.
In your example, you are on SMS. There is no Captive portal or any other GW side functionality, so no need to change SSL port. You still have Platform Portal option for GWs, as shown above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On SMS/MDM the Gaia Port can be defined using the clish command „set web ssl-port“.
This is then default port for Gaia, Smartview, REST-API.
On gateways and clusters the platform portal is defining the Gaia Port but you can define different ports for UserCheck, MAB, IA CaptivePortal and maybe I forgot others.
In background everything is handled by multi-portal daemon which forwards requests on relevant port and path to relevant daemon/functionality listening on high-port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Johannes, the command set web ssl-port <port number> is correct and, remember, after execute this command you need to save this configuration with "save config". To verify you could run " grep 'httpd:ssl_port' /config/db/initial "
sk91380
(8) Changing the Gaia Portal port in Clish results in warning
"WARNING This command is for initial use. SSL port should be set through SmartDashboard. Changing the port may cause inconsistency with the settings on the SmartDashboard. Are you sure you want to continue?(Y/N)
[N]
"It is recommended to change the port using the Platform Portal section of the object in SmartDashboard.
Add the port to the end of the Main URL and push policy. "show web ssl-port" should now display the port in the Main URL
For Security Gateway:
In SmartConsole, perform:- Open the Security Gateway / Cluster object and go to the "Platform Portal" pane.
- In the "Main URL" field, set the desired port (e.g., port 4434):
https://IP_ADDRESS:PORT - Click on OK to apply the changes.
- Install the security policy on this Security Gateway / Cluster object.
For Security Management Server:
- Connect to command line on Security Management Server and log in to Clish.
- Set the desired port (e.g., port 4434):
HostName> set web ssl-port <Port_Number> - Save the changes: HostName> save config
- Verify that the configuration was saved:
[Expert@HostName]# grep 'httpd:ssl_port' /config/db/initial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Having done this, the mgmt_cli command could no longer connect to the server, even though 'api status' appeared OK. Reverting port back to 443 fixed this. How can we make the change and ensure the API port is also updated?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Examples:
a)
mgmt_cli login --port 4434 -u username-p userpassword > sid
b)
export MGMT_CLI_PORT=4434
mgmt_cli login -u username-p userpassword > sid
Unfortunately I did not find a way how to specify the port for the mgmt command in clish. It does not understand the --port option and it does not obey the MGMT_CLI_PORT environment variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Isn't there a way to run GAIA on only the Management interface, and run other Portals on External/Internal interfaces?
Seems like that would be the simpler solution to this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anyone seen this issue?
Updated R81.10 ssl port from 443 to 4434 (on a new manager with migrated data) after this I get the following message when attempting to access the GAIA portal:
HTTP Status 404 - Not Found
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.71
---
# grep 'httpd:ssl_port' /config/db/initial
httpd:ssl_port 4434
Port looks set correct looking at the above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TAC provided the solution, its known that when upgrading Endpoint Server from R80.40 or less to R81.x or above the httpd/httpd2 ports can get mixed up.
Resolution to this is documented in SK172485
#$UEPMDIR/system/install/gaia_apache_conf_regenerate 4434
#uepm_apache.sh port 443
