Welcome! Log In Create A New Profile

Advanced

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Francis Daly
September 06, 2018 03:02AM
On Wed, Sep 05, 2018 at 06:51:38PM -0400, Frank_Mascarell wrote:

Hi there,

> root@BaseVPS-ubuntu1804-django20:~# curl -v https://15.15.15.15/test

> * SSL certificate problem: self signed certificate
> * Closing connection 0
> curl: (60) SSL certificate problem: self signed certificate

Ok, that's useful. It is not the 502 error, but it is something.

This is "the client (curl) does not like the fact that the server is
presenting a self-signed certificate".

One way to tell the client to accept the certificate is to add " -k"
to the command line.

However, the older nginx log entry...

> 2018/09/05 18:20:12 [error] 3975#3975: *52 connect() to
> unix:/run/gunicorn.sock failed (111: Connection refused) while connecting to

suggests that at that time, nginx was unable to connect to gunicorn.

That is usually a configuration (access control) problem outside of
nginx's control; if that problem persists, you may want to check the
gunicorn config or logs to see what it thinks is happening.

> upstream, client: 139.162.116.133, server: 15.15.15.15, request: "GET /
> HTTP/1.1", upstream: "http://unix:/run/gunicorn.sock:/", host:
> "15.15.15.15"

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problem when reconfiguring Nginx for SSL with self-signed certificate

Frank_Mascarell September 04, 2018 02:30PM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Francis Daly September 05, 2018 11:52AM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Frank_Mascarell September 05, 2018 04:49PM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Francis Daly September 05, 2018 05:40PM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Frank_Mascarell September 05, 2018 06:51PM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Francis Daly September 06, 2018 03:02AM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Frank_Mascarell September 08, 2018 11:25PM

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

Francis Daly September 10, 2018 08:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready