mojolicious / mojo

:sparkles: Mojolicious - Perl real-time web framework

Home Page:https://mojolicious.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSL error for Perl/Mojolicious Apps on a Raspberry Pi 4

bislink opened this issue · comments

  • Mojolicious version: 9.28
  • Perl version: 5.32.1
  • Operating system: Raspberry Pi 4 (8 GB RAM)

Steps to reproduce the behavior

Open https://spanel.gnani.xyz:44042 in a browser, I get error ERR_CONNECTION_RESET

Expected behavior

Should load without error just like https://spanel.gnani.xyz served by Apache2

Actual behavior

wget --spider https://spanel.gnani.xyz:44042 gives the following error:

GnuTLS: The TLS connection was non-properly terminated. 
Unable to establish SSL connection.

but the same certificate works ok for Apache2 : https://spanel.gnani.xyz

Certificate for Mojo App:

hypnotoad:
  listen:
    - 'http://*:44040'
    - 'https://*:44042?cert=certs/spanel.gnani.xyz/cert.pem&key=certs/spanel.gnani.xyz/privkey.pem'
  workers: 10

Tried changing the port, same error.

Looks like the same issue as #1876.