Updated for SSL.