Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java convert https requests to http  RSS feed

 
henk eetvis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a webbrowser connects to your server with https, it's very hard to see what page he is going for without apache.
for example:
HTTPS:
asjdosahsdafhiksadfhsadfk
sadfjhaksdfhksjadfhl
asdfhsadkf

HTTP:
GET /page HTTP/1.1
etc

is there a way to convert the HTTPS reuqest to the HTTP request?
 
Stephan van Hulst
Saloon Keeper
Posts: 7007
110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The whole point of HTTPS is that you can't see what's inside the request while it's in transit.

Where do you want to see the contents of the request?
 
henk eetvis
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only thing that I want to get is the page that it wants to get (/page)
 
Stephan van Hulst
Saloon Keeper
Posts: 7007
110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like I said, where do you want to get this information? In the client? In the server? In between?

In the client you can do this by inspecting the anchor that the user clicked on using JavaScript.

In the server, you already know the page, because that's where the system directed you to.

In between is not possible, because that's the whole point of HTTPS.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!