Service failure after installing certificate

0
After installing certificate for access, the Apache service is crashing.  The content is:   SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): * [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121] mod_wsgi (pid=1612): Exception occurred processing WSGI script ‘E:/GitStack/app/app/wsgi.py’. [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121] Traceback (most recent call last): [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\core\\handlers\\wsgi.py”, line 241, in __call__ [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     response = self.get_response(request) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\core\\handlers\\base.py”, line 177, in get_response [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\core\\handlers\\base.py”, line 219, in handle_uncaught_exception [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return debug.technical_500_response(request, *exc_info) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\views\\debug.py”, line 66, in technical_500_response [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     html = reporter.get_traceback_html() [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\views\\debug.py”, line 287, in get_traceback_html [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return t.render(c) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 140, in render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return self._render(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 134, in _render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return self.nodelist.render(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 823, in render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     bit = self.render_node(node, context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\debug.py”, line 74, in render_node [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return node.render(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\defaulttags.py”, line 282, in render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return nodelist.render(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 823, in render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     bit = self.render_node(node, context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\debug.py”, line 74, in render_node [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     return node.render(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\debug.py”, line 84, in render [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     output = self.filter_expression.resolve(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 571, in resolve [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     obj = self.var.resolve(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 721, in resolve [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     value = self._resolve_lookup(context) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\template\\base.py”, line 772, in _resolve_lookup [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     current = current() [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\http\\__init__.py”, line 263, in build_absolute_uri [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     self.get_host(), self.path) [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]   File “E:\\GitStack\\python\\lib\\site-packages\\django\\http\\__init__.py”, line 223, in get_host [Thu Apr 21 00:12:06 2016] [error] [client 169.54.233.121]     “Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s” % host) Any suggestions for my IT guy? Thanks, Brian
asked April 25, 2016

1 Answer

0
Is the certificate correctly signed and corresponding to the domain name?

Your Answer

Please login to post questions.