Your question is very generic and web server dependent. You need to read through the web server documentation (the one that you use) as how to setup SSL.i.e. jakarta.apache.org/.../ssl-howto.html