Error 525 when setting up SSL


#1

Hello,

I am trying to set up SSL on my second server (the first one works perfectly) but I’m getting 525 errors whenever I try to access my webpage. Here is my default-ssl.conf apache file


ServerName sub.domain.com

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined
	SSLEngine on

	SSLCertificateFile /root/domain.com.crt
	SSLCertificateKeyFile /root/domain.com.key	
</VirtualHost>
</IfModule>

I have set up SSL error reports and this is an example of the report I get
[Thu Sep 27 12:46:24.919657 2018] [watchdog:debug] [pid 18230] mod_watchdog.c(565): AH02980: Watchdog: nothing configured?
[Thu Sep 27 12:46:24.919749 2018] [proxy:debug] [pid 18230] proxy_util.c(1785): AH00925: initializing worker proxy:reverse shared
[Thu Sep 27 12:46:24.919765 2018] [proxy:debug] [pid 18230] proxy_util.c(1827): AH00927: initializing worker proxy:reverse local
[Thu Sep 27 12:46:24.919806 2018] [proxy:debug] [pid 18230] proxy_util.c(1878): AH00931: initialized single connection worker in child 18230 for (*)
[Thu Sep 27 12:46:26.302843 2018] [core:debug] [pid 18229] protocol.c(1278): [client xxx.xxx.xx.xxx] AH00566: request failed: malformed request line

Really not sure why this is not working as it works perfectly fine on my other server