From abf14dc58ee456680d7d3b7a7be2c658abcc01cb Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Tue, 28 Nov 2023 17:00:04 +0100 Subject: [PATCH] improving doc --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d82a7cdf..2bf8bb13 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,12 @@ WQPJIrSPnNVeKtelttQKbfi3QBFGmh95DmK/D5fs4C8fF5Q= -----END CERTIFICATE-----"); ``` +> [!Note] +> +> In order to get a root certificate from a server, if you install [OpenSSL](https://www.openssl.org/source/), you can run the following command: +> `openssl s_client -connect the.server-to-get-the-cert.com:443 -showcerts` +> This will show you all the root certs used and present them as PEM. You can then copy/paste the one you need. + It's possible to add HTTP headers that will be sent along with each request. ```csharp