Getting these errors :-
  *[Fri Nov 19 06:57:36 2021] [ip AH02203: Init: Private key not found*
*[Fri Nov 19 06:57:36 2021] [ip SSL Library Error: error:0D07207B:asn1 
encoding routines:ASN1_get_object:header too long[Fri Nov 19 
06:57:36.717374 2021] [ssl:emerg] [pid 12557:tid 139779757414208] AH02312: 
Fatal error initialising mod_ssl, exiting. *

I have also added the server name in the command

On Friday, November 19, 2021 at 12:10:21 PM UTC+5:30 Graham Dumpleton wrote:

> What are the error messages you are getting and where?
>
> Also be aware you must supply the --server-name option with the hostname 
> of the site which matches what you set in the certificate.
>
> On 19 Nov 2021, at 5:36 pm, Shetu <[email protected]> wrote:
>
> Hi Graham,
>
> I am using modwsgi express to run my Django application on mod_wsgi Apache 
> server. I am not able to start my server on https port although it works on 
> http port.
>
> This is the command I used to start the server(mentioned only https and 
> ssl parameters)
>
> *./manage.py runmodwsgi --https-only --https-port 8443 *
> *--ssl-certificate-key-file /apps/django_app/keystore/server_name.keystore 
> *
> *--ssl-certificate-file /apps/django_app/keystore/server_name.crt*
>
> Please let me know where I may be going wrong.
>
> Regards,
> Shetu
>
>
>
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/modwsgi/e7ccbe41-a58f-44db-852a-fd1e618a99bfn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/modwsgi/e7ccbe41-a58f-44db-852a-fd1e618a99bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/f087841a-360e-489b-b3bd-6ff915a666dfn%40googlegroups.com.

Reply via email to