Code Monkey home page Code Monkey logo

Comments (3)

jc21 avatar jc21 commented on May 17, 2024

Anything in the docker logs?

from nginx-proxy-manager.

Grekkor avatar Grekkor commented on May 17, 2024

Only:

Connection Error: Error: Connection lost: The server closed the connection.

I generated the certificate files on linux. I got two .pem files.
I tried uploading them as .crt and .key files aswell but no luck.
Here the command I used:
openssl req -x509 -newkey rsa:4096 -keyout HomeCertificateKey.pem -out HomeCertificateCert.pem -days 365

Edit: Nvm, the docker log entry has nothing to do with this issue in my opinion. I just tested it again and nothing new appears in the log.
Edit 2: When trying to upload .txt files then I get:

Upload failed: 400

and a log entry:
[1/14/2019] [6:53:05 AM] [Express ] › ⚠ warning Certificate is not valid (Command failed: openssl x509 -in /tmp/6cba1486-d794-45ef-8e21-397f1df69b6d/tmp -subject -noout unable to load certificate 140095325644032:error:0906D06C:PEM routines:PEM_read_bio:no start line:../crypto/pem/pem_lib.c:691:Expecting: TRUSTED CERTIFICATE)
Hence my assumption is it has to do with certificate validation, which is maybe stuck in an infinite loop? It takes like a good 1-2 minutes before the error notification appears. The 400 error appears instantaneously.

Edit 3: The upload succeeds when using the -nodes option to disable DES. I now used the following command:
openssl req -newkey rsa:4096 -nodes -keyout HomeCertificateKey.pem -x509 -days 365 -out HomeCertificateCert.pem
I suggest you either support DES or document somewhere the constraints on the certificates.

from nginx-proxy-manager.

chaptergy avatar chaptergy commented on May 17, 2024

This issue should be fixed, certificate upload is currently working.

from nginx-proxy-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.