Update curl examples to use 'localhost' (#3617)

This commit is contained in:
Misty Stanley-Jones 2017-06-15 10:36:19 -07:00 committed by GitHub
parent db8f48ff34
commit dda29b7fc4
1 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ generate the site key and certificate, name the files `site.key` and
server, and that the correct TLS certificate is being used.
```bash
$ curl --cacert root-ca.crt https://0.0.0.0:3000
$ curl --cacert root-ca.crt https://localhost:3000
<!DOCTYPE html>
<html>
@ -441,7 +441,7 @@ generate the site key and certificate, name the files `site.key` and
```
```bash
$ openssl s_client -connect 0.0.0.0:3000 -CAfile root-ca.crt
$ openssl s_client -connect localhost:3000 -CAfile root-ca.crt
CONNECTED(00000003)
depth=1 /C=US/ST=CA/L=San Francisco/O=Docker/CN=Swarm Secret Example CA