Probably SSL Error?

Keywords: Django - AWS - Technical issue - Secure Connections (SSL/HTTPS)

bnsupport ID: 87502b9e-b382-fc33-08ca-0f5f0e6aa083

bndiagnostic output:

The diagnostic tool couldn't find any issues.

bndiagnostic failure reason: The tool could not find any issue

Description:
Got this error. Please help.

[Sun Oct 17 22:35:40.979154 2021] [ssl:warn] [pid 1373:tid 139895534599040] AH01909: www
.example.com:443:0 server certificate does NOT include an ID which matches the server na.ex
me
[Sun Oct 17 22:35:41.159047 2021] [ssl:warn] [pid 1374:tid 139895534599040] AH01909: www489
.example.com:443:0 server certificate does NOT include an ID which matches the server naorm
me
[Sun Oct 17 22:35:41.211028 2021] [mpm_event:notice] [pid 1374:tid 139895534599040] AH00Com
489: Apache/2.4.51 (Unix) OpenSSL/1.1.1d mod_wsgi/4.7.1 Python/3.8 configured -- resumin
g normal operations491
[Sun Oct 17 22:35:41.211069 2021] [core:notice] [pid 1374:tid 139895534599040] AH00094: 
Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'.ex
[Mon Oct 18 00:10:02.841708 2021] [mpm_event:notice] [pid 1374:tid 139895534599040] AH00
491: caught SIGTERM, shutting down.ex
[Mon Oct 18 00:10:03.279294 2021] [ssl:warn] [pid 6387:tid 139738271611776] AH01909: www
.example.com:443:0 server certificate does NOT include an ID which matches the server na489
meorm
[Mon Oct 18 00:10:03.290814 2021] [ssl:warn] [pid 6388:tid 139738271611776] AH01909: www
.example.com:443:0 server certificate does NOT include an ID which matches the server naCom
me
[Mon Oct 18 00:10:03.296170 2021] [mpm_event:notice] [pid 6388:tid 139738271611776] AH00
489: Apache/2.4.51 (Unix) OpenSSL/1.1.1d mod_wsgi/4.7.1 Python/3.8 configured -- resumin
g normal operations
[Mon Oct 18 00:10:03.296213 2021] [core:notice] [pid 6388:tid 139738271611776] AH00094: 
Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'
/opt/bitnami/apache/logs/error_log (END)

Hi @ericpro258

Thanks for using Bitnami Django!

[Sun Oct 17 22:35:41.159047 2021] [ssl:warn] [pid 1374:tid 139895534599040] AH01909: www489
.example.com:443:0 server certificate does NOT include an ID which matches the server naorm
me

Taking a closer look, the output you shared does not contain any error, but rather some warnings and notices. In the case of that one, it is related to the fact that your instance is using the dummy SSL certificates that come with it, and which are not meant to use on production (but totally fine for testing purposes). Replacing the dummy certificates with valid ones will be enough to make that warning disappear :slightly_smiling_face:

We have a tool that makes it easy to configure SSL certificates for your instance and I think you might find it helpful:

https://docs.bitnami.com/aws/how-to/understand-bncert/

Best regards,
Jose Antonio Carmona


Was my answer helpful? Click on :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.