Correct the unsafe script warning when using ssl