Hyphen or minus character not accepted in hostname
3 years ago
Originally Published: 2009-09-28
Article Number
000044555
Applies To
RSA Key Manager Appliance 1.6.x
1.0/rPath Linux
RSA Key Manager Appliance 2.5.0.x
Issue
Installer does not accept a hyphen in the hostname
Hyphen or minus character not accepted in hostname
Resolution
This issue will be fixed in the Key Manager Appliance installation scripts.  As a workaround, follow the steps listed below if you must have a hyphen in the hostname:

Edit the file /opt/rsa/setup/py/configcmd.py, at line 1913. Add the line highlighted in BLUE:

      if serverType != cPRIMARY_FQDN or  serverType != cSTANDBY_FQDN:
        if parse_fqdn(server) != None:
          break
        else:
          break
          display.Print("[INCORRECT FORMAT] Hostname should be a fully qualified domain name like [host.domain.com]\n")