> On 22 Feb 2018, at 12:48 pm, Rafael Karosuo <[email protected]> wrote:
> 
> I just added the part of --ssl-certificate, now running
> 
> python manage.py runmodwsgi --setup-only --port=443 --user myuser --group 
> mygroup --server-root=/etc/mod_wsgi-443 --server-name mytademex.com 
> --ssl-certificate-file /etc/pki/tls/certs/mytademex.crt 
> --ssl-certificate-key-file /etc/pki/tls/certs/mytademex.key 
> --ssl-certificate-chain-file /etc/pki/tls/certs/mytademexCA_bundle.crt 
> --ssl-certificate /etc/pki/tls/certs/mytademex --https-only  --startup-log 
> --access-log

You want:

    --ssl-certificate /etc/pki/tls/certs/mytademex

or:

    --ssl-certificate-file /etc/pki/tls/certs/mytademex.crt 
--ssl-certificate-key-file /etc/pki/tls/certs/mytademex.key

not both.

If the certificates are signed by official certificate authorities, you 
shouldn't need:

    --ssl-certificate-chain-file /etc/pki/tls/certs/mytademexCA_bundle.crt

Try getting on the same computer as the server is and use curl to debug, not 
your browser.

Run:

    curl -v https://mytademex.com <https://mytademex.com/>

What do you get?

Graham

>  but it still says the same SSL_PROTOCOL_ERR in my browser when I try to 
> connect to the site.
> 
> I also tried adding "localhost myhostname.com" and "my.ip myhostname.com" at 
> /etc/hosts with no success.
> 
> I'm still not getting any error in my error_log and can not go into apachectl 
> status
> 
> Any idea of what can I do to fix it?
> 
> Thanks again in advance
> 
> -- 
> 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.

Reply via email to