diff options
-rw-r--r-- | posts/curl-and-the-tls-sni-extension.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/posts/curl-and-the-tls-sni-extension.rst b/posts/curl-and-the-tls-sni-extension.rst index 7c2950a..b269fc2 100644 --- a/posts/curl-and-the-tls-sni-extension.rst +++ b/posts/curl-and-the-tls-sni-extension.rst @@ -132,11 +132,10 @@ We are offered (at least) two possibilities: > Accept: */* > Host: vhost1.example.org - HTTPS ----- -Now what happens if we use the HTTPS version ?:: +Now let's see what happens if we use the HTTPS version:: $ curl https://example.org default @@ -151,7 +150,7 @@ This is a normal behaviour. We can solve this issue by creating a certificate valid for *example.org* and *176.31.99.217* for example. But what about requesting our virtualhosts ? Well, pretty much the same happens -as it did before (unless you didn't clear your */etc/hosts* file).:: +as it did before (unless you didn't clear your */etc/hosts* file):: $ curl https://vhost1.example.org curl: (6) Could not resolve host: vhost1.example.org |