How to Use SSL Security with Your Web Site in Lion Server
You can add Secure Sockets Layer security to a website hosted in Lion Server by assigning a certificate to it. (The Server app doesn’t enable you to use SSL without a certificate.) You can use a self-signed SSL certificate or use one from a certificate authority.
If you have multiple sites configured in the Server app’s web pane, you can assign each one a different certificate or use the same one on all. You don’t set certificates from the web pane, however. You do it from the Server pane. Here’s how:
In the Server app, select your server in the sidebar under Hardware.
Click the Settings tab.
The SSL Certificate item will have one of these descriptions next to it:
The name of the certificate selected for all running services
Not Configured, if none of the running services has a certificate
Custom, if different services use different certificates
Click the Edit button next to SSL Certificate.
Select the Custom option from the pop-up menu to expand the dialog.
You should see your websites listed.
For each website, click the double arrows next to the set and select a certificate from the pop-up menu.
6. Click the OK button when you’re finished selecting certificates.
You can go back to the web pane and change the port numbers of sites to those used by SSL, such as 443 (instead of 80).