fix last commit: set SSL parameters properly