Current Behavior
When the panel is served over HTTPS, entering an IP address as a node's FQDN displays a red error: "You cannot connect to an IP address over SSL." and blocks saving. The validation in CreateNode.php and EditNode.php checks request()->isSecure(), which appears to test whether the connection to the Panel is over HTTPS, and refuses to allow an IP address in the node address field.
TLS works just fine on IP addresses with self-signed certs, internal CAs, and even DNS-01 ACME challenges.
Expected Behavior
There should be no error when entering an IP address as a node FQDN an connecting to it with TLS. A soft, non-error hint like "Considering using a domain anem for easier TLS certificate management" would be reasonable, but it shouldn't be presented as an error or imply it is impossible.
Steps to Reproduce
- Access the panel over HTTPS
- Go to Admin -> Nodes -> Create New
- Enter an IP address (e.g. 1.2.3.4) as the FQDN
- Observe the red error: "You cannot connect to an IP Address over SSL"
Panel Version
1.0.0-beta33
Wings Version
N/A
Games and/or Eggs Affected
N/A
Docker Image
No response
Error Logs
Is there an existing issue for this?
Current Behavior
When the panel is served over HTTPS, entering an IP address as a node's FQDN displays a red error: "You cannot connect to an IP address over SSL." and blocks saving. The validation in
CreateNode.phpandEditNode.phpchecksrequest()->isSecure(), which appears to test whether the connection to the Panel is over HTTPS, and refuses to allow an IP address in the node address field.TLS works just fine on IP addresses with self-signed certs, internal CAs, and even DNS-01 ACME challenges.
Expected Behavior
There should be no error when entering an IP address as a node FQDN an connecting to it with TLS. A soft, non-error hint like "Considering using a domain anem for easier TLS certificate management" would be reasonable, but it shouldn't be presented as an error or imply it is impossible.
Steps to Reproduce
Panel Version
1.0.0-beta33
Wings Version
N/A
Games and/or Eggs Affected
N/A
Docker Image
No response
Error Logs
Is there an existing issue for this?