How to Set Up SSL on a Webserver?

RaggedOldManRaggedOldMan Regular
edited August 2011 in Tech & Games
I've just been messing around with some web developing and I decided that it would be a good idea to enable some SSL (just so I learn how to actually implement it properly, for future reference). I noticed that Totse has got SSL support and I was wondering if someone could talk me through getting it set up? I understand that you can either use a self signed certificate or a fully paid for one, but I'll just be using a self signed one for now.

Any help would be greatly appreciated :)

Comments

  • SlartibartfastSlartibartfast Global Moderator -__-
    edited August 2011
    Do you have access to the webserver? Is it linux based? Is it an apache server?

    If you have apache and linux:
     # cd /etc/httpd/conf
     # openssl genrsa -des3 -out server.key 1024
     # openssl req -new -key server.key -out server.csr
     # cp server.key server.key.org
     # openssl rsa -in server.key.org -out server.key
     # openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
    
    the # means admin privledges.

    In /etc/httpd/conf/httpd.conf uncomment line:
     Include conf/extra/httpd-ssl.conf
    
    Restart apache

    http://www.akadia.com/services/ssh_test_certificate.html
  • RaggedOldManRaggedOldMan Regular
    edited August 2011
    Yes yes and yes! Thank you very much, I'll try that in just a minute. I had no idea it would be that easy :)
Sign In or Register to comment.