updates ad to ssl