Use hostname for SSL 'Common Name'.