Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux + HTTPS 1

Status
Not open for further replies.

axman505

Technical User
Jun 20, 2001
489
US
What all need to be done for me to set up HTTPS for my Linux Server?
 
Hi,







Basically, you need to install openssl and generate a private certificate and either get a verisign type certificate or generate a self-signed one. On redhat, you'd put them in the /etc/httpd/conf/ssl.key and /etc/httpd/conf/ssl.crt directories.







On the apache side you then need mod_ssl installed (from rpm of the same name if redhat) and the traditional httpd.conf editing ....







SSLEngine on



SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt



SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key



SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt







Thats the basics - see -->






If its not redhat then try -->






Hope this helps
 
thanks .. now i need to know what port https uses so i can allow it .. i used to know but i forget
 
I figured out the port . 443 .. but now i am having trouble. I am routing ports to my linux server from my windows 2k machine for the time being. But when i route port 443 to linux it doesnt dosplay the page. But when i access it on the LAN it works. Any ideas??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top