Hosting Articles Technical Articles

How To Sortout Webmin SSL Issue

Error Message:

Your browser sent a request that this server could not understand.
Reason: You’re speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.https:www.domain.com

Resolve:

– Log in to the webmin server.
-Go to the following path../etc/httpd/conf/httpd.conf
-Add the below lines

<VirtualHost ipaddress:80>
ServerName *.domain.com
ServerAlias domain.com
DocumentRoot /var/www/domain.com/
</VirtualHost

NameVirtualHost ipaddress:443

<VirtualHost ipaddress:443>
DocumentRoot /var/www/domain.com/
ServerName domain.com
SSLEngine on
SSLCertificateFile /etc/pki/tls/certs/www.domain.com.crt
SSLCertificateKeyFile /etc/pki/tls/private/www.domain.com.key
<Directory “/var/www/domain.com/”>
allow from all
Options +Indexes
</Directory>
</VirtualHost>

Tags:virtual host,Webmin,apache,ssl redirection,webmin utilities.

About the author

admin

Add Comment

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.