2023-02-01から1ヶ月間の記事一覧

WiresharkでHTTPSを復号化する

Wiresharkでhttps通信を復号化するときの備忘録。 今回はMacOSのChromeとlocalhostのnginxでhttpsの通信をする。 準備 証明書 mkcertでlocalhostの証明書と秘密鍵を用意する。コマンドを実行するとlocalhost.pemとlocalhost-key.pemが作成されるので、これを…

PrometheusのHTTP Service Discoveryを試す

PrometheusのHTTP Service Discoveryを試したときのメモ。 準備 Prometheus DockerのPrometheusとNode exporter2台を使う。 prometheus.yml global: scrape_interval: 30s scrape_configs: - job_name: prometheus static_configs: - targets: ['host.docke…