diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-08-21 10:01:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 10:01:53 +0200 |
commit | 06d142b962c7313e5bad3b50a44166eaa080314f (patch) | |
tree | ddcc0d3a6102784a10c1b7ee53670ef61b9909cb /docs/SSLCERTS.md | |
parent | 53bda2af6ce340fa071c243d60091877886c2873 (diff) | |
parent | e29ff2be2f4ae0dace025672e0289104d58adb2a (diff) | |
download | curl-06d142b962c7313e5bad3b50a44166eaa080314f.tar.gz |
Merge branch 'master' into bagder/http2-easymapbagder/http2-easymap
Diffstat (limited to 'docs/SSLCERTS.md')
-rw-r--r-- | docs/SSLCERTS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/SSLCERTS.md b/docs/SSLCERTS.md index 3fcd345b0..2c5be68e6 100644 --- a/docs/SSLCERTS.md +++ b/docs/SSLCERTS.md @@ -92,8 +92,8 @@ server, do one of the following: If you use the 'openssl' tool, this is one way to get extract the CA cert for a particular server: - - `openssl s_client -connect xxxxx.com:443 |tee logfile` - - type "QUIT", followed by the "ENTER" key + - `openssl s_client -showcerts -servername server -connect server:443 > cacert.pem` + - type "quit", followed by the "ENTER" key - The certificate will have "BEGIN CERTIFICATE" and "END CERTIFICATE" markers. - If you want to see the data in the certificate, you can do: "openssl |