Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I speak HTTPS manually for testing purposes?

HTTPS purposes speak Testing
0
Posted

How can I speak HTTPS manually for testing purposes?

0

$ telnet localhost 80 GET / HTTP/1.0 for simple testing the HTTP protocol of Apache, it’s not such easy for HTTPS because of the SSL protocol between TCP and HTTP. But with the help of OpenSSL’s s_client command you can do a similar check even for HTTPS: $ openssl s_client -connect localhost:443 -state -debug GET / HTTP/1.0 Before the actual HTTP response you receive detailed information about the SSL handshake. For a more general command line client which directly understands both the HTTP and HTTPS scheme, can perform GET and POST methods, can use a proxy, supports byte ranges, etc. you should have a look at nifty cURL tool. With it you can directly check if your Apache is running fine on Port 80 and 443 as following: $ curl http://localhost/ $ curl https://localhost/ • Why does the connection hang when I connect to my SSL-aware Apache server? [L] Because you connected with HTTP to the HTTPS port, i.e. you used an URL of the form “http://” instead of “https://”. This also happens

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.