Please read the documentation here: https://github.com/prometheus/blackbox_exporter?tab=readme-ov-file#tls-and-basic-authentication
> To use TLS and/or basic authentication, you need to pass a configuration file using the --web.config.file parameter. The format of the file is described in the exporter-toolkit repository <https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md> . -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d7f2d598-8d1c-4787-a52c-7726072a1c3cn%40googlegroups.com.

