Answer the question
In order to leave comments, you need to log in
How to disable ssl on apache ubuntu?
Installed Apache2 on Ubuntu from this LAMP link ,
and confused me to install ssl, although I don't need it at all.
Entered these two commands:
$ a2enmod ssl
$ a2ensite default-ssl
Now I can not connect to the site, then on pages with the php extension, the scripts are displayed as text.
Result of command apache2ctl-MS
AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/default-ssl.conf:
SSLCertificateKeyFile: file '/etc/ssl/private/ssl-cert-snakeoil.key' does not exist or is empty
Action '-MS' failed.
The Apache error log may have more information.
I am invited to create a key file, but I don’t need ssl yet, I’ll figure it out later, but I didn’t find information on how to disable it.
How to solve your problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question