HTTPS Webserver Configuration
I have configured web server in HTTPS in RedHat ( RHEL5 )
I changed the file # /etc/httpd/conf/httpd.conf <VirtualHost 192.168.1.5:80> Documentroot /var/www/html/ DirectoryIndex index.html ServerAdmin root@station5.example.com ServerName station5.example.com </VirtualHost> and I created the certificate in # cd /etc/pki/tls/certs/ # make server.key # make server.crt # cp server.key /etc/pki/tls/private/ and then I edited the file # cd /etc/httpd/conf.d/ssl.conf these are the following lines that I edited 85 ServerName station5.example.com:443 112 SSLCertificateFile /etc/pki/tls/certs/server.crt 119 SSLCertificateKeyFile /etc/pki/tls/private/server.key then I restarted the service httpd the I opened the brower and then I entered the URL: station5.example.com it came as http://station5.example.com I want it to come as https://station5.example.com, automatically Note: One of my friend told me , ServerAlias should be used , but I cant understand Kindly please help me , Thanks in advance ~ |
Reported as double post of http://www.linuxquestions.org/questi...-rhel5-697542/
|
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 11:00 PM. |