is where any HTTPS compliant browser will look by default. You can force
your browser to look on a different port by specifying it in the URL. For
example, if your server is set up to serve pages over HTTPS on port 8080,
- you can access them at <code>https://example.com:8080/</code></p>
+ you can access them at <code>https://example.com:8080/</code></p>
</section>
<section id="httpstest"><title>How do I speak HTTPS manually for testing purposes?</title>
<example>$ openssl s_client -connect localhost:443 -state -debug<br />
GET / HTTP/1.0</example>
-
- <p>Before the actual HTTP response you will receive detailed
- information about the SSL handshake. For a more general command
- line client which directly understands both HTTP and HTTPS, can
- perform GET and POST operations, can use a proxy, supports byte
- ranges, etc. you should have a look at the nifty
- <a href="http://curl.haxx.se/">cURL</a> tool. Using this, you can
- check that Apache is responding correctly to requests via HTTP and HTTPS as
- follows:</p>
-
+
+ <p>Before the actual HTTP response you will receive detailed
+ information about the SSL handshake. For a more general command
+ line client which directly understands both HTTP and HTTPS, can
+ perform GET and POST operations, can use a proxy, supports byte
+ ranges, etc. you should have a look at the nifty
+ <a href="http://curl.haxx.se/">cURL</a> tool. Using this, you can
+ check that Apache is responding correctly to requests via HTTP and
+ HTTPS as follows:</p>
+
<example>$ curl http://localhost/<br />
$ curl https://localhost/</example>
</section>
connect via HTTPS to a HTTP server (eg, using
<code>https://example.com/</code> on a server which doesn't support HTTPS,
or which supports it on a non-standard port). Make sure that you're
- connecting to a (virtual) server that supports SSL. </p> </section>
+ connecting to a (virtual) server that supports SSL.</p></section>
<section id="refused"><title>Why do I get ``Connection Refused'' messages,
when trying to access my newly installed Apache+mod_ssl server via HTTPS?</title>