server name in ssl server certificate does not match server name when using this site: https://gist.github.com/GrahamDumpleton/b79d336569054882679e. Using OS X, django, apache, mod_wsgi - - server name is blaze.local. Please help.

47 views
Skip to first unread message

Judith Boonstra

unread,
Aug 4, 2020, 5:42:49 PM8/4/20
to modwsgi

mod_wsgi-express: error: no such option: --blaze.local

(env) judith@blaze blaze % mod_wsgi-express start-server --log-to-terminal --startup-log --https-port 8443 --https-only --server-name blaze.local --ssl-certificate-file ssl-certs/server.crt --ssl-certificate-key-file ssl-certs/server.key --ssl-ca-certificate-file ssl-certs/ca.crt

Server URL         : http://blaze.local:8000/

Server URL (HTTPS) : https://blaze.local:8443/

Server Root        : /var/tmp/mod_wsgi-localhost:8000:501

Server Conf        : /var/tmp/mod_wsgi-localhost:8000:501/httpd.conf

Error Log File     : /dev/stderr (warn)

Startup Log File   : /dev/stderr

Request Capacity   : 5 (1 process * 5 threads)

Request Timeout    : 60 (seconds)

Startup Timeout    : 15 (seconds)

Queue Backlog      : 100 (connections)

Queue Timeout      : 45 (seconds)

Server Capacity    : 20 (event/worker), 20 (prefork)

Server Backlog     : 500 (connections)

Locale Setting     : en_US.UTF-8

[Tue Aug 04 16:50:40.837338 2020] [ssl:warn] [pid 7072:tid 4505550272] AH01909: blaze.local:443:0 server certificate does NOT include an ID which matches the server name

[Tue Aug 04 16:50:40.839287 2020] [ssl:warn] [pid 7072:tid 4505550272] AH01909: localhost:8443:0 server certificate does NOT include an ID which matches the server name

[Tue Aug 04 16:50:40.854685 2020] [ssl:warn] [pid 7072:tid 4505550272] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

[Tue Aug 04 16:50:40.855408 2020] [ssl:warn] [pid 7072:tid 4505550272] AH01909: blaze.local:443:0 server certificate does NOT include an ID which matches the server name

[Tue Aug 04 16:50:40.856250 2020] [ssl:warn] [pid 7072:tid 4505550272] AH01909: localhost:8443:0 server certificate does NOT include an ID which matches the server name

[Tue Aug 04 16:50:40.856514 2020] [core:warn] [pid 7072:tid 4505550272] AH00098: pid file /var/tmp/mod_wsgi-localhost:8000:501/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Tue Aug 04 16:50:40.857883 2020] [mpm_event:notice] [pid 7072:tid 4505550272] AH00489: Apache/2.4.41 (Unix) mod_wsgi/4.7.1 Python/3.8 LibreSSL/2.8.3 configured -- resuming normal operations

[Tue Aug 04 16:50:40.857958 2020] [core:notice] [pid 7072:tid 4505550272] AH00094: Command line: 'httpd (mod_wsgi-express)  -f /var/tmp/mod_wsgi-localhost:8000:501/httpd.conf -E /dev/stderr -D MOD_WSGI_VIRTUAL_HOST -D MOD_WSGI_WITH_HTTPS -D MOD_WSGI_VERIFY_CLIENT -D MOD_WSGI_HTTPS_ONLY -D MOD_WSGI_MPM_ENABLE_EVENT_MODULE -D MOD_WSGI_MPM_EXISTS_EVENT_MODULE -D MOD_WSGI_MPM_EXISTS_WORKER_MODULE -D MOD_WSGI_MPM_EXISTS_PREFORK_MODULE -D FOREGROUND'





Tried regenerating data for ssl-certs table using blaze.local, blaze.local:8443, blaze, and blaze.local:8443:0, and the server network addr: 192........., to no avail.


Please advise

Graham Dumpleton

unread,
Aug 4, 2020, 5:58:32 PM8/4/20
to mod...@googlegroups.com
Using localhost or other special local addresses can cause problems with certificates and Apache virtual host matching. Try using a nip.io address instead. See nip.io site if you don't know what they are.

--
You received this message because you are subscribed to the Google Groups "modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/6bfa7324-54e6-47e7-b272-51fbe44bdf72o%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages