Optimize configuration for SSL