Stop mod_wsgi-express and do the same thing. Does it say can't even connect, or does it still connect?
Do you have any environment variables that may be set which is causing a proxy to be used? If you have 'telnet' on the host, what happens if you type 'telnet mytademex.com <http://mytademex.com/> 443' and press return Graham > On 22 Feb 2018, at 1:23 pm, Rafael Karosuo <[email protected]> wrote: > > Oh ok, I ran these one. > python manage.py runmodwsgi --setup-only --port=443 --user mytademe --group > mytademe --server-root=/etc/mod_wsgi-443 --server-name mytademex.com > --ssl-certificate /etc/pki/tls/certs/mytademex --https-only --startup-log > --access-log > > I have a VPS, so I did SSH to it, then ran the curl -v. > > Got this... > > * About to connect() to mytademex.com port 443 (#0) > * Trying 127.0.0.1... connected > * Connected to mytademex.com (127.0.0.1) port 443 (#0) > * Initializing NSS with certpath: sql:/etc/pki/nssdb > * CAfile: /etc/pki/tls/certs/ca-bundle.crt > CApath: none > * NSS error -12263 > * Closing connection #0 > * SSL connect error > curl: (35) SSL connect error > > So I rechecked the base directory, then found that I have > /etc/pki/tls/certs/ > mytademexCA_bundle.crt mytademex.crt mytademex.key > > The CA one is the bundle that I think is the chain file, so I deleted it. > > Ran again the command the command and tested the > curl -v https://mytademex.com > > And get the same: > * About to connect() to mytademex.com port 443 (#0) > * Trying 127.0.0.1... connected > * Connected to mytademex.com (127.0.0.1) port 443 (#0) > * Initializing NSS with certpath: sql:/etc/pki/nssdb > * CAfile: /etc/pki/tls/certs/ca-bundle.crt > CApath: none > * NSS error -12263 > * Closing connection #0 > * SSL connect error > curl: (35) SSL connect error > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/modwsgi > <https://groups.google.com/group/modwsgi>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
