Enhancement #3104

Require HTTPS protocol on port 980

Added by Davide Principi over 6 years ago. Updated about 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-httpd-admin
Target version:v6.6
Resolution: NEEDINFO:No

Description

If a plain HTTP request is sent on port 980 the current Apache reponse is


Bad Request
Your browser sent a request that this server could not understand
Reason: You're speaking plain HTTP to an SSL-enabled server port
Instead use the HTTPS scheme to access this URL, please.
Hint: https://servername/

The link does not provide correct informations to reach the Server Manager:
  • the port is missing
  • probably the server name is not resolved by DNS

Use Apache ErrorDocument directive to provide the right informations.

Associated revisions

Revision 44e26d8d
Added by Davide Principi about 6 years ago

Automatically fix URL protocol to https:// and redirect client. Refs #3104

History

#1 Updated by Davide Principi about 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi about 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

  • If the wrong http:// protocol is typed, the error page redirects to https:// after some seconds.
  • If automatic redirect does not work, a direct link is available as last resort.
  • The IP address used to build the target link must be consistent with the original client request.

#3 Updated by Davide Principi about 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing
nethserver-httpd-admin-1.4.1-1.6.gddf2c13.ns6.noarch.rpm

#4 Updated by Vasco Castelo Branco about 6 years ago

  • Assignee set to Vasco Castelo Branco

Can not find the package nethserver-httpd-admin-1.4.1-1.6.gddf2c13.ns6.noarch.rpm in the nethserver-testing repo

#5 Updated by Vasco Castelo Branco about 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

#6 Updated by Vasco Castelo Branco about 6 years ago

  • Assignee deleted (Vasco Castelo Branco)

#7 Updated by Davide Principi about 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-httpd-admin-1.5.0-1.ns6.noarch.rpm

Also available in: Atom PDF