Found a simpler way to handle SSL, using just one env variable