adding validation time option for selfsigned certificates