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

Added support for HTTPS and mutual TLS (mTLS) #361

Merged
merged 1 commit into from
Nov 9, 2023

Commits on Nov 9, 2023

  1. Added support for HTTPS and mutual TLS (mTLS)

    Details:
    
    * Added support for communicating with Prometheus using HTTPS by adding a
      new section 'prometheus' to the HMC credentials file, that can specify
      server certificate and key files, CA credentials file for validating
      client certificates (mTLS), and a flag for disabling client vertificate
      validation.
    
    * Since it makes sense to also specify the port for exporting in the new
      'prometheus' section, that was also added. The -p command line option
      overrides the port specified in the HMC credentials file, which
      defaults to 9291, so this is backwards compatible.
    
    * For now, the prometheus-client package is installed from its master branch.
      Once its new version has been released, it will need to be installed
      again from Pypi (search for TODO-PYPI in whole repo).
    
    Signed-off-by: Andreas Maier <maiera@de.ibm.com>
    andy-maier committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    4f6d936 View commit details
    Browse the repository at this point in the history