Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bislink opened this issue Oct 20, 2022 · 1 comment
Open

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

bislink opened this issue Oct 20, 2022 · 1 comment

Comments

@bislink
Copy link

bislink commented Oct 20, 2022

  • 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.

@kensanata
Copy link

Looks like the same issue as #1876.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants