I have an SRX1500 with JUNOS 19.2R1-S3. With the config below for web management
show configuration system services web-management
https {
port 4443;
system-generated-certificate;
interface fxp0.0;
}
When we access the Jweb we get the error below;
https://10.0.0.26:4443/login.php?code=404&ruri=/servererror.php
Too many redirects occur trying to open “https://10.0.0.26:4443/login.php?code=404&ruri=/servererror.php”
The httpd logs are below
show log httpd.log
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Set connector "netConnector"
httpd: 2: Activating module (Builtin) sslModule
httpd: 2: Virtual Host: *:4443
httpd: 2: DocRoot (phone-home-client): "/html/phone-home"
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Upload directory: /tmp
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Virtual Host: [::]:4443
httpd: 2: DocRoot (phone-home-client): "/html/phone-home"
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Upload directory: /tmp
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Chroot to: "/jail"
httpd: 2: Server Root "/"
httpd: 2: DocRoot (phone-home-client): "/html/phone-home"
httpd: 2: Activating module (Builtin) chunkFilter
httpd: 2: Add filter "chunkFilter" to location "" for all extensions
httpd: 2: Activating module (Builtin) uploadFilter
httpd: 2: Add filter "uploadFilter" to location "" for all extensions
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Upload directory: /tmp
httpd: 0: parseJuniperDirectives : entry
httpd: 2: Activating module (Builtin) PhoneHomeClient
httpd: 2: Add handler "PhoneHomeClient" for "py"
httpd: 2: Activating module (Builtin) cgiHandler
httpd: 2: Add handler "cgiHandler" for "py"
httpd: 2: Activating module (Builtin) fileHandler
httpd: 2: Add handler "fileHandler" for "html htm gif jpeg svg png pdf js svg gz css jpg xml swf xml exe cab cli jar ico """
httpd: 1: Started at Sat Feb 08 21:18:02 2020 EAT
httpd: 1: Starting host named: "phone-home-client"
httpd: 1: Starting host named: "phone-home-client"
httpd: 1: Starting host named: "phone-home-client"
httpd: 2: Listening for HTTPS on *:4443
httpd: 2: Listening for HTTPS on :::4443
httpd: 1: HTTP services are ready with max 10 worker threads
httpd: 2: GET / HTTP/1.1
httpd: 2: reportFailure: uri /index.html with query string /index.html
httpd: 2: Error: "Not Found", code 404 for URI "/index.html", file "/html/phone-home/index.html": Can't open document: /html/phone-home/index.html.
httpd: 2: GET /login.php?code=404&ruri=/index.html HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/index.html
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.
httpd: 2: GET /login.php?code=404&ruri=/servererror.php HTTP/1.1
httpd: Error: URL(/login.php) doesn't match for redirection
httpd: 2: reportFailure: uri /servererror.php with query string /servererror.php&code=404&ruri=/servererror.php
httpd: 2: Error: "Not Found", code 404 for URI "/servererror.php", file "/html/phone-home/servererror.php": Can't open document: /html/phone-home/servererror.php.