Fix problem with SSL warnings