Certificate request fix and alt_dns_names support