Incorporating DNS name into cert call