8.7. Changing the Satellite Hostname


If you need to change the hostname or IP address of your Satellite server, the satellite-utils package contains the satellite-hostname-rename script.
To use the satellite-hostname-rename script, you must first ensure that you know your SSL CA passphrase by performing the following command:
openssl rsa -in path/RHN-ORG-PRIVATE-SSL-KEY
Copy to Clipboard Toggle word wrap
Then enter passphrase when prompted.
satellite-hostname-rename requires one mandatory argument, which is the IP address of the Satellite server, regardless of whether the IP address will change along with the hostname or not.
The usage of satellite-hostname-rename is as follows:
spacewalk-hostname-rename <ip address> [ --ssl-country=<country> --ssl-state=<state>\
--ssl-org=<organization/company> --ssl-orgunit=<department> --ssl-email=<email address> --ssl-ca-password=<password>]
Copy to Clipboard Toggle word wrap
If there is a need to generate a new SSL certificate, all necessary information will be asked interactively via series of prompts, unless options are passed at the command-line (as in the above example). When the system hostname has not changed, the regeneration of a new SSL server certificate is not necessary. However, if at least one SSL option is specified, then satellite-hostname-rename will generate a certificate.
For more information about using satellite-hostname-rename, refer to the following Red Hat Knowledgebase entry:
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat