Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lack of support for domain based Redfish URL and TLS certificates #273

Open
mastier opened this issue Jul 3, 2024 · 0 comments
Open

Lack of support for domain based Redfish URL and TLS certificates #273

mastier opened this issue Jul 3, 2024 · 0 comments

Comments

@mastier
Copy link

mastier commented Jul 3, 2024

The customers would like to use domain names and globally valid certificate.
However hardware-observer currently rely on bmc address fetch by ipmitool

It would be good to add support for redfish-hostname as optional argument

def get_bmc_address() -> t.Optional[str]:

health_check_endpoint = f"https://{bmc_address}:443/redfish/v1/"

Optionally support for adding RootCA certificate that will verify the certificate against.
Currently the cert verification is skipped.

response = requests.get(
health_check_endpoint, verify=False, timeout=HARDWARE_EXPORTER_SETTINGS.redfish_timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant