Advertisement
bogatyr285

redirect http->https

Sep 26th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. bogatyr@bogatyr-PC:~$ curl -L -v http://api.std29.os3.su
  2. * Rebuilt URL to: http://api.std29.os3.su/
  3. * Trying 188.130.155.61...
  4. * TCP_NODELAY set
  5. * Connected to api.std29.os3.su (188.130.155.61) port 80 (#0)
  6. > GET / HTTP/1.1
  7. > Host: api.std29.os3.su
  8. > User-Agent: curl/7.58.0
  9. > Accept: */*
  10. >
  11. < HTTP/1.1 301 Moved Permanently
  12. < Location: https://std29.os3.su/
  13. < Content-Length: 0
  14. < Date: Wed, 26 Sep 2018 16:47:11 GMT
  15. < Server: Apache/2.4.9 (Unix)
  16. <
  17. * Connection #0 to host api.std29.os3.su left intact
  18. * Issue another request to this URL: 'https://std29.os3.su/'
  19. * Trying 188.130.155.61...
  20. * TCP_NODELAY set
  21. * Connected to std29.os3.su (188.130.155.61) port 443 (#1)
  22. * ALPN, offering h2
  23. * ALPN, offering http/1.1
  24. * successfully set certificate verify locations:
  25. * CAfile: /etc/ssl/certs/ca-certificates.crt
  26. CApath: /etc/ssl/certs
  27. * TLSv1.2 (OUT), TLS handshake, Client hello (1):
  28. * TLSv1.2 (IN), TLS handshake, Server hello (2):
  29. * TLSv1.2 (IN), TLS handshake, Certificate (11):
  30. * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  31. * TLSv1.2 (IN), TLS handshake, Server finished (14):
  32. * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  33. * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
  34. * TLSv1.2 (OUT), TLS handshake, Finished (20):
  35. * TLSv1.2 (IN), TLS handshake, Finished (20):
  36. * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
  37. * ALPN, server did not agree to a protocol
  38. * Server certificate:
  39. * subject: CN=*.std29.os3.su
  40. * start date: Sep 26 15:09:22 2018 GMT
  41. * expire date: Dec 25 15:09:22 2018 GMT
  42. * subjectAltName: host "std29.os3.su" matched cert's "std29.os3.su"
  43. * issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
  44. * SSL certificate verify ok.
  45. > GET / HTTP/1.1
  46. > Host: std29.os3.su
  47. > User-Agent: curl/7.58.0
  48. > Accept: */*
  49. >
  50. < HTTP/1.1 200 OK
  51. < Content-Type: text/html
  52. < Accept-Ranges: bytes
  53. < ETag: "788360751"
  54. < Last-Modified: Tue, 25 Sep 2018 13:42:56 GMT
  55. < Content-Length: 346
  56. < Date: Wed, 26 Sep 2018 16:47:12 GMT
  57. < Server: Apache/2.4.9 (Unix)
  58. <
  59. <!doctype html>
  60.  
  61. <html lang="en">
  62. <head>
  63. <meta charset="utf-8">
  64.  
  65. <title>qq</title>
  66. <meta name="description" content="test web servers">
  67. <meta name="author" content="bogatyr285">
  68.  
  69. <link rel="stylesheet" href="css/styles.css?v=1.0">
  70.  
  71. </head>
  72.  
  73. <body>
  74. <h1>qq! It's the main page</h1>
  75. <script src="js/scripts.js"></script>
  76. </body>
  77. </html>
  78. * Connection #1 to host std29.os3.su left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement