Added configuration for https connection.