An error like that usually indicates mod_ssl isn't loaded into Apache. The other possibility is that you have used some strange unicode character in the text somewhere but nothing obvious there.
> On 18 Dec 2021, at 3:24 am, Andrew Lambert <[email protected]> wrote: > > Hello, > > I am using mod_wsgi-express in a python conda environment to serve a Flask > API app. My app has been functioning correctly for a few months now until > recently. I had to make a change to my conda environment, but had to do it > offline. Ultimately, this required a new environment with a new mod_wsgi > installation. I believe the new mod_wsgi installation is a newer version > because I could not find the old version I was using. The API still was > working in this new environment until the next morning. > > I have been using an include file to modify the SSL configuration ever since > I started using mod_wsgi to serve the app. This file is just three lines: > > SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 > SSLCipherSuite ALL:!RC4:!aNULL > SSLHonorCipherOrder on > > Upon running mod_wsgi-express start-server with the include file, I now > receive a Syntax error: > > AH00526: Syntax error on line 1 of <path/to/ssl.conf>: > Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not > included in the server configuration > > Any ideas on why this would suddenly happen? It even worked a few hours after > the new installation. I assume it must have something to do with the new > installation/updated version but I cannot seem to figure out what this means. > > Thanks, > Andy > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/b90ef891-4168-424f-828a-eaf22c6b2eben%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/b90ef891-4168-424f-828a-eaf22c6b2eben%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/D4F8BE6A-B8FC-4C5F-B7E8-FBB1C1E4AC89%40gmail.com.
